Pylibssh2 project

  • Sharebar

libssh2 logopython logo

pylibssh2 is a python binding for the libssh2 library.

This binding is developped at Wallix to provide an easy
way to manage SSH2 connection through libssh2 library in python.

This is a C extension module to provide a high level python API. libssh2 API is
fairy well respected and exported into a python API.

Packaging and API is documented with the epydoc format.


  • python 2.6+ (older version before 2.5 aren’t supported and not recommended)
  • libssh2 1.2.1+ (older version after 0.18 can works too)

Linux Debian/Ubuntu::

    sudo aptitude install python2.6 python2.6-dev libssh2-1 libssh2-1-dev


    sudo make -C /usr/ports/lang/python install clean
    sudo make -C /usr/ports/security/libssh2/ install clean


Old parts from are licensied against GNU Lesser GPL (LGPL) and all
new and rewritten parts from are licensied against LGPL License too.


code and test this binding on Linux and FreeBSD. It would be works on all posix platforms but I haven’t tried others.

Bug tracking and support

Bug tracker is available at GitHub.

Mailing list for support and discussions under’s mailman.

Incoming search terms:

  • python libssh2 windows
  • libssh2 windows
  • libssh2 python windows
  • python c ssh
  • pylibssh2 windows
  • freebsd python libssh2
  • libssh python library
  • install libssh2 python module
  • libssh2 python 2 6
  • python libssh windows

Leave a Reply

Your email address will not be published. Required fields are marked *


8 − six =

* Copy This Password *

* Type Or Paste Password Here *

61,672 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>