Skip to main content

scp module for paramiko

Project description

# Pure python scp module
========================

The scp.py module uses a paramiko transport to send and recieve files via the
scp1 protocol. This is the protocol as referenced from the openssh scp program,
and has only been tested with this implementation.


## Example
==========

```python
from paramiko import SSHClient
from scp import SCPClient

ssh = SSHClient()
ssh.load_system_host_keys()
ssh.connect('example.com')

# SCPCLient takes a paramiko transport as its only argument
scp = SCPClient(ssh.get_transport())

scp.put('test.txt', 'test2.txt')
scp.get('test2.txt')
```
$ md5sum test.xt test2.txt
fc264c65fb17b7db5237cf7ce1780769 test.txt
fc264c65fb17b7db5237cf7ce1780769 test2.txt

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

scp-0.7.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

scp-0.7.0.macosx-10.9-intel.exe (67.0 kB view details)

Uploaded Source

File details

Details for the file scp-0.7.0.tar.gz.

File metadata

  • Download URL: scp-0.7.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scp-0.7.0.tar.gz
Algorithm Hash digest
SHA256 435a4690cdb342b35f4510d12e8a5c3ec05f869f3561a1135e8a13fe478d783d
MD5 35a7d4850e10dda64583f8f546cc1216
BLAKE2b-256 8e4d0011f0a473cc4660b0f64c91c5b92cb78ab8771e57d0d8fd974474fcd7d0

See more details on using hashes here.

File details

Details for the file scp-0.7.0.macosx-10.9-intel.exe.

File metadata

File hashes

Hashes for scp-0.7.0.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 ab2bbca1fc201e20398c6a1a6f76cdc2e08cbb6f94d31d9b0f1da64f082d4ec5
MD5 23db052a32fb33f2c1a57d988c6c34f9
BLAKE2b-256 bc77b33dadfdb3387e19edc2f1b7d077f92e65b91dec83a6f7d04ea45965ec08

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