Thursday, April 24, 2014

SSH connection fail-overs between SSH servers using Paramiko

I'm using this utility class to make ssh connection in python using Paramiko module with connection fail-overs between ssh servers. Quite simple:






References: 
[0] http://jessenoller.com/blog/2009/02/05/ssh-programming-with-paramiko-completely-different
[1] http://sebastiandahlgren.se/2012/10/11/using-paramiko-to-send-ssh-commands/
[2] http://www.lag.net/paramiko/