Merge branch '1.8' into 1.9
This commit is contained in:
commit
8cdbcfa1ff
|
@ -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