Merge branch '1.9' into 1.10
This commit is contained in:
commit
1627ea6603
|
@ -63,7 +63,7 @@ password = getpass.getpass('Password for %s@%s: ' % (username, hostname))
|
||||||
try:
|
try:
|
||||||
client = paramiko.SSHClient()
|
client = paramiko.SSHClient()
|
||||||
client.load_system_host_keys()
|
client.load_system_host_keys()
|
||||||
client.set_missing_host_key_policy(paramiko.WarningPolicy)
|
client.set_missing_host_key_policy(paramiko.WarningPolicy())
|
||||||
print '*** Connecting...'
|
print '*** Connecting...'
|
||||||
client.connect(hostname, port, username, password)
|
client.connect(hostname, port, username, password)
|
||||||
chan = client.invoke_shell()
|
chan = client.invoke_shell()
|
||||||
|
|
Loading…
Reference in New Issue