mirror of
https://github.com/clearml/clearml-session
synced 2025-02-07 05:20:45 +00:00
Fix SSH retry crash when password cannot be passed
This commit is contained in:
parent
d98202bfb9
commit
9d58110755
@ -755,7 +755,8 @@ def start_ssh_tunnel(username, remote_address, ssh_port, ssh_password, local_rem
|
|||||||
child.terminate(force=True)
|
child.terminate(force=True)
|
||||||
child = None
|
child = None
|
||||||
print('\n')
|
print('\n')
|
||||||
child.logfile = None
|
if child:
|
||||||
|
child.logfile = None
|
||||||
return child, ssh_password
|
return child, ssh_password
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user