parallel-ssh Clients

paramiko vs libssh2

In a previous post a comparison was shown between two SSH library options for Python, with emphasis on their performance using native threads for scaling purposes. For this post, their non-blocking performance using the gevent library will be compared as the two SSH library options available now in parallel-ssh. Post has been updated with further scaling graphs for both clients. Test Setup Test script (see appendix) consists of identical parallel-ssh code for the two available parallel clients in the library, using paramiko and libssh2 via ssh2-python respectively as the underlying SSH libraries. [Read More]

The State of Python SSH Libraries

Preface In this post a new option for Python SSH libraries, ssh2-python, shall be compared to Paramiko to demonstrate their respective performance with particular emphasis on concurrency and non-blocking requests. In looking for a Python SSH library to use in an application, not many options exist. Indeed, the only general purpose library that has, up to now, been available is Paramiko, which implements the SSH2 API in Python code. [Read More]