Skip to content

Commit

Permalink
Merge pull request hail-is#16 from cseed/master
Browse files Browse the repository at this point in the history
Break apart ssh options.
  • Loading branch information
cseed authored Jul 14, 2017
2 parents 37357c7 + 748577d commit 8967e55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion connect_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
cmd = [
'gcloud compute ssh {}-m'.format(args.name),
'--zone={}'.format(args.zone),
'--ssh-flag="-D {} -N -f -n"'.format(args.port),
'--ssh-flag="-D {}"'.format(args.port),
'--ssh-flag="-N"',
'--ssh-flag="-f"',
'--ssh-flag="-n"',
'> /dev/null 2>&1 &'
]
subprocess.call(' '.join(cmd), shell=True)
Expand Down

0 comments on commit 8967e55

Please sign in to comment.