scp
scp module for paramiko
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, and solves a specific problem cleanly—file transfer over SSH without shell escaping or subprocess management. The copyleft license requires attention if you're building proprietary software, but for internal tools, automation, and open-source projects it is a straightforward dependency.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a working SSH connection via paramiko and network access to the remote host.
- Low install friction with a single runtime dependency on paramiko.
- The package is actively maintained with a recent release and has been stable since its 2013 inception.
License · maintenance · safety
LGPL-2.1-or-later (copyleft) — Licensed under LGPL-2.1-or-later (copyleft). Derivative works and modifications must be released under compatible terms; proprietary applications incorporating this code must comply with copyleft obligations.
last release 2026-07-29 (16 days) · last repo commit 2026-07-29 · 555 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,011,039 downloads/mo, #1,205 on PyPI
Alternatives
Verify before relying
from paramiko import SSHClient
from scp import SCPClient
ssh = SSHClient()
ssh.load_system_host_keys()
ssh.connect('example.com')
scp = SCPClient(ssh.get_transport())
scp.put('test.txt', 'test2.txt')
scp.close()- Whether the package supports modern SSH key types and algorithms beyond what paramiko provides.
- Performance characteristics when transferring large files or many small files.
- Compatibility with recent OpenSSH versions and non-standard SCP implementations.
What it is and what it does
scp is a pure-Python wrapper around the SCP protocol that leverages paramiko's SSH transport to move files to and from remote hosts. It implements the protocol as used by OpenSSH's scp command, allowing you to upload, download, and recursively transfer directories over an established SSH connection.
The package is designed for straightforward file operations: you pass it a paramiko transport, call put() or get() with local and remote paths, and optionally supply a progress callback to monitor transfer status. It also supports uploading file-like objects via putfo() and works as a context manager for cleaner resource handling.
Use it for
- Automating remote file backups or log collection from servers over SSH.
- Uploading configuration files or application binaries to remote hosts during deployment.
- Downloading results or reports from remote systems as part of a larger automation workflow.
- Transferring entire directory trees to remote systems with a single recursive call.
- Monitoring file transfer progress in long-running data migration or sync operations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, and solves a specific problem cleanly—file transfer over SSH without shell escaping or subprocess management. The copyleft license requires attention if you're building proprietary software, but for internal tools, automation, and open-source projects it is a straightforward dependency.
Install
scp on PyPI
Before you install
Low install friction with a single runtime dependency on paramiko. The package is actively maintained with a recent release and has been stable since its 2013 inception.
Requires a working SSH connection via paramiko and network access to the remote host.
License in practice
Licensed under LGPL-2.1-or-later (copyleft). Derivative works and modifications must be released under compatible terms; proprietary applications incorporating this code must comply with copyleft obligations.
Quickstart
from paramiko import SSHClient
from scp import SCPClient
ssh = SSHClient()
ssh.load_system_host_keys()
ssh.connect('example.com')
scp = SCPClient(ssh.get_transport())
scp.put('test.txt', 'test2.txt')
scp.close()
Verify before relying
- Whether the package supports modern SSH key types and algorithms beyond what paramiko provides.
- Performance characteristics when transferring large files or many small files.
- Compatibility with recent OpenSSH versions and non-standard SCP implementations.
Package facts
| License | LGPL-2.1-or-later copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageparamiko |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 15,011,039 / month, #1,205 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/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Internet |
Evidence: scp-0.16.1-py2.py3-none-any.whl
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 › “scp file transfer ssh”
- scpProvides file transfer over SSH using the SCP protocol via a paramiko…
- asyncsshAsyncSSH provides an asynchronous SSH client and server…
- robotframework-sshlibraryA Robot Framework test library for executing commands, transferring…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also sftpretty · jumpssh · sshtunnel · paramiko · asyncssh · fs.sshfs · pysftp · python-rrmngmnt · ftputil · webdavclient3