def sshclient_from_instance(instance, ssh_key_file, host_key_file='~/.ssh/known_hosts', user_name='root', ssh_pwd=None):
 s = FakeServer(instance, ssh_key_file)
 return SSHClient(s, host_key_file, user_name, ssh_pwd)

def sshclient_from_instance ( instance , ssh_key_file , host_key_file = '~/.ssh/known_hosts' , user_name = 'root' , ssh_pwd = None ) : s = FakeServer ( instance , ssh_key_file ) return SSHClient ( s , host_key_file , user_name , ssh_pwd )
create and return an sshclient object given an instance object .