mirror of https://github.com/jumpserver/jumpserver
overite
parent
e0a0c1c641
commit
b6866ac518
|
@ -129,7 +129,7 @@ def connect(username, password, host, port):
|
||||||
posix_shell(channel, username, host)
|
posix_shell(channel, username, host)
|
||||||
|
|
||||||
# shutdown channel socket
|
# shutdown channel socket
|
||||||
channel.shutdown()
|
ssh.close()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue