Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pure python ssh

Tags:

python

ssh

Are there any implementations of SSH in pure python? Preferably open source?

I'm specifically looking for a client, not server.

like image 615
Falmarri Avatar asked Nov 21 '10 05:11

Falmarri


People also ask

Can I SSH from python?

SSH is widely used by network administrators for managing systems and applications remotely, allowing them to log in to another computer over a network, execute commands and move files from one computer to another. In python SSH is implemented by using the python library called fabric.

Does paramiko use OpenSSH?

Paramiko does not itself leverage OpenSSH-style config file directives, but it does implement a parser for the format, which users can honor themselves (and is used by higher-level libraries, such as Fabric).

Is paramiko built in Python?

Paramiko is a Python library that makes a connection with a remote device through SSh. Paramiko is using SSH2 as a replacement for SSL to make a secure connection between two devices.


2 Answers

Try paramiko.

like image 51
Ned Deily Avatar answered Oct 02 '22 16:10

Ned Deily


There is no pure Python library for SSH. paramiko is not pure python, because it doesn't work without pyCrypto dongle. It may carry a pure Python implementation of SSH protocol, but it is not usable as a pure Python library - you still need to install binary pyCrypto extension compiled for your platform, and there is no replacement.

like image 45
anatoly techtonik Avatar answered Oct 02 '22 17:10

anatoly techtonik