BigComputeLabs icon indicating copy to clipboard operation
BigComputeLabs copied to clipboard

ssh -J not always available

Open lmiroslaw opened this issue 8 years ago • 1 comments

you may want refer the users using WIndows Bash to another solution: creating a config file with the proxy settings.

` root@mymachine:/mnt/c/workspace/BigComputeLabs# cat ~/.ssh/config Host ccjumpbox HostName adminjb.westeurope.cloudapp.azure.com User cycleadmin ForwardAgent yes

Host ccserver Hostname cycleserver User cycleadmin ProxyCommand ssh ccjumpbox -W %h:%p 2>/dev/null `

and then ssh cycleserver -i ~/.ssh/id_rsa

lmiroslaw avatar Feb 22 '18 08:02 lmiroslaw

I'm using this:

ssh -i ~/.ssh/id_rsa -Ao ProxyCommand="ssh -i ~/.ssh/id_rsa -W %h:%p -p 22 [email protected]" -p 22 cycleadmin@cycleserver

desmondkung avatar Mar 13 '18 00:03 desmondkung