### Execute remote command in Robot Framework Source: https://marketsquare.github.io/SSHLibrary Example showing how to import SSHLibrary, manage connections in suite setup, and execute a remote command. ```robotframework *** Settings *** Documentation This example demonstrates executing a command on a remote machine ... and getting its output. ... ... Notice how connections are handled as part of the suite setup and ... teardown. This saves some time when executing several test cases. Library SSHLibrary Suite Setup Open Connection And Log In Suite Teardown Close All Connections *** Variables *** ${HOST} localhost ${USERNAME} test ${PASSWORD} test *** Test Cases *** Execute Command And Verify Output [Documentation] Execute Command can be used to run commands on the remote machine. ... The keyword returns the standard output by default. ${output}= Execute Command echo Hello SSHLibrary! Should Be Equal ${output} Hello SSHLibrary! *** Keywords *** Open Connection And Log In Open Connection ${HOST} Login ${USERNAME} ${PASSWORD} ``` -------------------------------- ### Install SSHLibrary from source Source: https://marketsquare.github.io/SSHLibrary Manual installation using setup.py for Python or Jython environments. ```bash python setup.py install jython setup.py install ``` -------------------------------- ### Install SSHLibrary via pip Source: https://marketsquare.github.io/SSHLibrary The recommended method to install the library and its dependencies. ```bash pip install --upgrade robotframework-sshlibrary ``` -------------------------------- ### Install SSHLibrary from GitHub Source: https://marketsquare.github.io/SSHLibrary Install the latest source code directly from the master branch. ```bash pip install git+https://github.com/MarketSquare/SSHLibrary.git ``` -------------------------------- ### Install Docker dependencies Source: https://marketsquare.github.io/SSHLibrary Required system packages for installing SSHLibrary in Alpine Linux containers. ```bash apk add gcc make openssl-dev musl-dev libffi-dev ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.