Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh -J not always available #11

Open
lmiroslaw opened this issue Feb 22, 2018 · 1 comment
Open

ssh -J not always available #11

lmiroslaw opened this issue Feb 22, 2018 · 1 comment

Comments

@lmiroslaw
Copy link
Contributor

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

@desmondkung
Copy link

I'm using this:

ssh -i ~/.ssh/id_rsa -Ao ProxyCommand="ssh -i ~/.ssh/id_rsa -W %h:%p -p 22 cycleadmin@adminjbname.region.cloudapp.azure.com" -p 22 cycleadmin@cycleserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants