paramiko

SSH2 protocol library

Here are some articles that you may find helpful