mirror of
https://github.com/clearml/clearml-session
synced 2025-01-30 18:36:54 +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 = None
|
||||
print('\n')
|
||||
child.logfile = None
|
||||
if child:
|
||||
child.logfile = None
|
||||
return child, ssh_password
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user