robotframework-sshlibrary
Robot Framework test library for SSH and SFTP
Decision gist · record as of 2026-08-14
Yes, if you are already using Robot Framework for test automation and need SSH/SFTP capabilities. The library is stable (Production/Stable status), permissively licensed, and has no known vulnerabilities. However, the last release was 2021-11-18—check whether your use case aligns with the library's current state despite active repository status. Installation requires system-level build dependencies in containerized environments.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires system libraries (gcc, make, openssl-dev, musl-dev, libffi-dev) when installing in containers like Alpine Linux.
- On Windows with Python < 3.0, requires win_inet_pton >= 1.1.0.
- For SSH tunnels, requires robotbackgroundlogger > 1.2.
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2021-11-18 (1730 days) · last repo commit 2026-07-09 · 167 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 289,676 downloads/mo, #7,998 on PyPI
Alternatives
Verify before relying
pip install robotframework-sshlibrary
# In Robot Framework test file:
*** Settings ***
Library SSHLibrary
*** Test Cases ***
Execute Remote Command
Open Connection hostname
Login username password
${output}= Execute Command echo test
Close All Connections- Whether paramiko >= 1.15.3 and scp >= 0.13.0 are automatically installed and pinned by pip install
- Current compatibility with Python versions beyond 3.8 (classifiers list only up to 3.8)
- Whether the gap between last release (2021-11-18) and recent commits (2026-07-09) indicates active maintenance or stalled development
What it is and what it does
robotframework-sshlibrary is a test library that extends Robot Framework with keywords for SSH and SFTP operations. It lets you write automated tests that connect to remote machines, execute commands, read and write interactive shell sessions, and transfer files over SFTP—all through Robot Framework's keyword-driven syntax. The library handles connection management and provides low-level keywords that are typically wrapped in higher-level test keywords for clarity.
The package depends on paramiko for SSH protocol support and scp for file transfers. Installation via pip automatically pulls in these dependencies along with cryptographic libraries. On containerized systems, you must pre-install system build tools. The library supports Python 2.7 and 3.4 or newer, and also runs on Jython 2.7 (with additional JAR setup).
Use it for
- Automated testing of remote server configurations and deployments by executing shell commands and verifying output
- Transferring test data files to remote machines or retrieving results over SFTP as part of test setup and teardown
- Writing integration tests that interact with remote systems via SSH, such as verifying service status or log contents
- Automating multi-step SSH sessions with interactive shell commands for complex remote operations
- Building end-to-end test suites that validate infrastructure or application behavior across distributed systems
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Robot Framework for test automation and need SSH/SFTP capabilities.
The library is stable (Production/Stable status), permissively licensed, and has no known vulnerabilities. However, the last release was 2021-11-18—check whether your use case aligns with the library's current state despite active repository status. Installation requires system-level build dependencies in containerized environments.
Install
robotframework-sshlibrary on PyPI
Before you install
Installation requires system-level dependencies (gcc, make, openssl-dev, musl-dev, libffi-dev on Alpine/containers) and pulls in paramiko and scp as runtime dependencies. Last release was 2021-11-18, though the repository remains active with recent commits as of 2026-07-09.
Requires system libraries (gcc, make, openssl-dev, musl-dev, libffi-dev) when installing in containers like Alpine Linux. On Windows with Python < 3.0, requires win_inet_pton >= 1.1.0. For SSH tunnels, requires robotbackgroundlogger > 1.2.
License in practice
Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install robotframework-sshlibrary
# In Robot Framework test file:
*** Settings ***
Library SSHLibrary
*** Test Cases ***
Execute Remote Command
Open Connection hostname
Login username password
${output}= Execute Command echo test
Close All Connections
Verify before relying
- Whether paramiko >= 1.15.3 and scp >= 0.13.0 are automatically installed and pinned by pip install
- Current compatibility with Python versions beyond 3.8 (classifiers list only up to 3.8)
- Whether the gap between last release (2021-11-18) and recent commits (2026-07-09) indicates active maintenance or stalled development
Package facts
| License | Apache License 2.0 permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,730 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 289,676 / month, #7,998 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: Robot FrameworkFramework :: Robot Framework :: LibraryLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development :: Testing |
Evidence: robotframework-sshlibrary-3.8.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “robot framework ssh testing”
- robotframework-sshlibraryA Robot Framework test library for executing commands, transferring…
- rfswarm-managerrfswarm-manager lets you run Robot Framework test cases as load tests…
- rfswarm-agentrfswarm-agent lets you run Robot Framework test cases as load tests…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also robotframework-seleniumlibrary · robotremoteserver · robotframework-debuglibrary · robotframework-selenium2library · robotframework-requests · robotframework · robotframework-csvlibrary · robotframework-dependencylibrary · robotframework-appiumlibrary · robotframework-databaselibrary