Skip to main content

Robot Framework test library for SSH and SFTP

Project description

Introduction

SSHLibrary is a Robot Framework test library for testing SSH and SFTP. It is operating system independent and works both with Python and Jython.

The library has the following main usages:

  • Executing commands on the remote machine, either with blocking or non-blocking behavior.

  • Writing and reading in an interactive shell.

  • Transferring files and directories over SFTP.

  • Ensuring that files and directories exist on the remote machine.

SSHLibrary is open source software licensed under Apache License 2.0.

Installation

When installing SSHLibrary on UNIX-like machines with Python, the easiest approach is using pip:

pip install robotframework-sshlibrary

Alternatively you can download the source distribution from PyPI, extract it, and install it using one of the following depending are you using Python or Jython:

python setup.py install
jython setup.py install

A benefit of using pip is that it automatically installs paramiko and PyCrypto modules that SSHLibrary requires on Python. Using pip on Windows with Python works too, but you need to first install PyCrypto module manually.

On Jython SSHLibrary requires Trilead SSH JAR distribution.

For more detailed installation instructions see INSTALL.rst.

Documentation

Keyword documentation by version can be found from http://robotframework.org/SSHLibrary/.

For general information about using test libraries with Robot Framework, see Robot Framework User Guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-sshlibrary-2.1.2.tar.gz (93.3 kB view details)

Uploaded Source

File details

Details for the file robotframework-sshlibrary-2.1.2.tar.gz.

File metadata

File hashes

Hashes for robotframework-sshlibrary-2.1.2.tar.gz
Algorithm Hash digest
SHA256 aebb57c7b4495f0a3b53e4c111400cdd9d7ebfdfb62af82ca720c727de95803d
MD5 0e5fb2900bd63d1f694e43917b00fa97
BLAKE2b-256 fd6d047d776091e0cb07438368a25bade3062837fc53e769c91e3bd075033215

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page