mirror of https://github.com/huashengdun/webssh
Updated sshserver.py
parent
330145484d
commit
c70117e590
|
@ -115,7 +115,10 @@ def run_ssh_server(port=2200, running=True):
|
||||||
chan.send('\r\n\r\nWelcome!\r\n\r\n')
|
chan.send('\r\n\r\nWelcome!\r\n\r\n')
|
||||||
if username == 'bar':
|
if username == 'bar':
|
||||||
print(chan.recv(1024))
|
print(chan.recv(1024))
|
||||||
|
|
||||||
chan.close()
|
chan.close()
|
||||||
|
t.close()
|
||||||
|
client.close()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
sock.close()
|
sock.close()
|
||||||
|
|
Loading…
Reference in New Issue