From b6866ac518b2a2d4c48c7b565e8b3a1bf2ed16be Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Mon, 22 Dec 2014 15:57:26 +0800 Subject: [PATCH] overite --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index 7a9328a79..4735a172c 100755 --- a/connect.py +++ b/connect.py @@ -129,7 +129,7 @@ def connect(username, password, host, port): posix_shell(channel, username, host) # shutdown channel socket - channel.shutdown() + ssh.close() if __name__ == '__main__':