Nicer way to proxy ssh

This commit is contained in:
Alexandre Iooss 2018-12-28 12:04:19 +01:00
parent c27fd74075
commit 0e68987602

View file

@ -44,10 +44,9 @@ Host proxy.auro.re
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p
# Use a key to log on all Aurore servers
# and use a bastion
# Use a bastion and a key to log on all Aurore servers
Host 10.128.0.*
ProxyJump proxy.auro.re
IdentityFile ~/.ssh/id_rsa_aurore
ProxyCommand ssh -q -W %h:%p proxy.auro.re
```