- paramiko http://www.lag.net/paramiko/
- ssh module ( a wrapper for paramiko) http://stackoverflow.com/questions/1939107/python-libraries-for-ssh-handling
- pythion binding to C libssh library http://www.no-ack.org/2010/11/python-bindings-for-libssh2.html
- fabric http://docs.fabfile.org/en/1.4.3/index.html>
- python SSH module (base on the paramiko) http://pypi.python.org/pypi/ssh/1.7.11
http://pypi.python.org/pypi/paramiko/1.7.7.2
http://media.commandline.org.uk/code/ssh.txt
https://github.com/bitprophet/ssh
This is a simple python example as well.
you should also do a
ReplyDeletessh.close()
at the end to close the connection.
Thanks for your comment! I've added it to the example code.
ReplyDeleteThanks so much. It works well
ReplyDelete