New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pysftp-extension

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pysftp-extension

A friendly face on SFTP

0.2.14
PyPI
Maintainers
1

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

Keywords

sftp ssh ftp internet

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts