A friendly face on SFTP
Project description
pysftp Exension
This package extends pysftp by providing the disabled_algorithms option at connection. It solves the problem in this post https://stackoverflow.com/questions/70812056/pysftp-fails-with-authentication-failed-and-server-did-not-send-a-server-sig.
pysftp is a simple interface to SFTP. The module offers high level abstractions and task based routines to handle your SFTP needs. Checkout the Cook Book, in the docs, to see what pysftp can do for you.
Example
import pysftp_extension
with pysftp_extension.Connection('hostname', username='me', password='secret', disabled_algorithms=dict(pubkeys=["rsa-sha2-512", "rsa-sha2-256"])) as sftp:
with sftp.cd('public'): # temporarily chdir to public
sftp.put('/my/local/filename') # upload file to public/ on remote
sftp.get('remote_file') # get a remote file
Supports
Tested on Python 2.7, 3.2, 3.3, 3.4
.. image:: https://drone.io/bitbucket.org/dundeemt/pysftp/status.png :target: https://drone.io/bitbucket.org/dundeemt/pysftp/latest :alt: Build Status
- Project: https://github.com/achillis2/pysftp_extension
- Download: https://github.com/achillis2/pysftp_extension
- Documentation: http://pysftp.rtfd.org/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pysftp_extension-0.2.14.tar.gz
.
File metadata
- Download URL: pysftp_extension-0.2.14.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ccbc42c1806e5a23e335447d5e71173addc3a078571a04bfb122b41807df7b |
|
MD5 | f9add62e1d6a1aa15209e76d35084a97 |
|
BLAKE2b-256 | 221d70bfea99f87d333338fa3cdf4f9d80dad691604970abb4c73355bc54398c |