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

Uploaded Source

Built Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for scp-0.7.2.tar.gz
Algorithm Hash digest
SHA256 c81fed4278a09d4655e523e1b094a08b7d708ae5f45bd23b10b898556afc493b
MD5 83a652a4711e500329f440a0d1c0f336
BLAKE2b-256 e906c3b8404e8cb6aeff9247acff5e629e6448eb43b2de3a2d75c1ba402a4782

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scp-0.7.2.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 1510e2f7a76be7364f95819cad23718b332d1cb26a0facc7470b5abb63399dbf
MD5 d229b35bc55e5ea33292c56a26ed3e2f
BLAKE2b-256 f440423df105ea417d087712c7fd13cd64056e737f0d6f959540577eef95d2f8

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