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.txt 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.9.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

scp-0.9.0.macosx-10.10-intel.exe (67.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for scp-0.9.0.tar.gz
Algorithm Hash digest
SHA256 916743112559eebb80bbe918bdf200d0e7a5648100badebc84eb0bf91ecd4336
MD5 47f5837425c05dae9f79123c105ee2dd
BLAKE2b-256 205a8659f0d79e7158a0d9f8032d3536701ee69bc26bd8e3d264853a54bfe8b6

See more details on using hashes here.

File details

Details for the file scp-0.9.0.macosx-10.10-intel.exe.

File metadata

File hashes

Hashes for scp-0.9.0.macosx-10.10-intel.exe
Algorithm Hash digest
SHA256 469b151fac6a440081367da206feccddce2542589f8d34239a34eb7ad5d6abda
MD5 6ad2e86ca6140c76e01e2efff3306087
BLAKE2b-256 e127795ba392a77c53dc8d9c4df1c2531a609b1415dd377852b5ee2ece6cc035

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