Commit c70117e5 by Sheng

Updated sshserver.py

parent 33014548
......@@ -115,7 +115,10 @@ def run_ssh_server(port=2200, running=True):
chan.send('\r\n\r\nWelcome!\r\n\r\n')
if username == 'bar':
print(chan.recv(1024))
chan.close()
t.close()
client.close()
try:
sock.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment