{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"Provides a Python context manager that runs an in-process SSH server for testing, built on paramiko, without requiring OpenSSH binaries.","skillfed_tags":["ssh-testing","pytest-fixture","sftp"],"use_cases":["Test SSH client code by connecting to a mock server in a pytest fixture without external SSH setup.","Verify SFTP file transfer logic by uploading and downloading files to a test server running in the same process.","Integration test SSH-based deployment or configuration management tools in CI/CD pipelines.","Validate SSH command execution and output parsing in tools that shell out over SSH.","Test multi-user SSH scenarios by configuring multiple test users with different keys in a single server instance."],"what_it_does":"mock-ssh-server is a testing utility that spins up a lightweight SSH server in Python without needing OpenSSH installed. It wraps paramiko to provide a context manager you can use in test fixtures, letting you run real SSH and SFTP commands against a controlled server during unit or integration tests. You supply a dictionary of test users and their private key paths, then connect to the server using paramiko's client API just as you would to a real SSH host.\n\nThe package is designed for developers who need to test SSH-based tools, scripts, or libraries in isolation. Instead of mocking SSH calls or relying on external SSH infrastructure, you get a real SSH server running in your test process that you can tear down cleanly after each test.","worth_installing":"Yes, if you need to test SSH or SFTP client code. The package has low install friction, is actively maintained, and carries no known vulnerabilities. The main caveat is that the latest release was 2021-09-13, so verify compatibility with your Python version and current paramiko versions before committing to it in a new project."},"id":"mock-ssh-server","links":{"html":"https://skillfed.io/packages/mock-ssh-server","md":"https://skillfed.io/packages/mock-ssh-server.md","pypi":"https://pypi.org/project/mock-ssh-server/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-09-13","license_spdx":null,"license_treatment":"permissive","name":"mock-ssh-server","python_support":"unspecified","summary":"Mock SSH server for testing purposes"},"popularity":{"monthly_downloads":229879,"position":9120,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.1"}
