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.8.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

scp-0.8.0.macosx-10.9-intel.exe (67.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for scp-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e51374fcc0a81903dbf2e3aeecb23fa64637cb7e1a7b21c815f3fb6358e95de2
MD5 7240f8717a8ba8abc1b935e16d4bd992
BLAKE2b-256 a45601cc48421616287f6ca8dcacfaca3c89cd0174a18545ae31d0e14cfb50a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scp-0.8.0.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 606810e66ec109d382e07110bc94abed7d5f8921ec2f5c0631b18d582c905381
MD5 cad4726e3e2a52e6ae74194ac32da23b
BLAKE2b-256 29a927fc9a74335f6715b399cc931423c974795e7280b9a3b5b16f2b23563443

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