mirror of
https://github.com/clearml/clearml-session
synced 2025-06-26 18:16:55 +00:00
remove -N
This commit is contained in:
parent
78ea4bf4f0
commit
22ae1daaae
@ -669,7 +669,7 @@ def wait_for_machine(state, task):
|
|||||||
def start_ssh_tunnel(username, remote_address, ssh_port, ssh_password, local_remote_pair_list, debug=False):
|
def start_ssh_tunnel(username, remote_address, ssh_port, ssh_password, local_remote_pair_list, debug=False):
|
||||||
print('Starting SSH tunnel')
|
print('Starting SSH tunnel')
|
||||||
child = None
|
child = None
|
||||||
args = ['-N', '-C',
|
args = ['-C',
|
||||||
'{}@{}'.format(username, remote_address), '-p', '{}'.format(ssh_port),
|
'{}@{}'.format(username, remote_address), '-p', '{}'.format(ssh_port),
|
||||||
'-o', 'UserKnownHostsFile=/dev/null',
|
'-o', 'UserKnownHostsFile=/dev/null',
|
||||||
'-o', 'Compression=yes',
|
'-o', 'Compression=yes',
|
||||||
|
Loading…
Reference in New Issue
Block a user