Nicer way to proxy ssh

mail_server
Alexandre Iooss 6 years ago
parent c27fd74075
commit 0e68987602

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

Loading…
Cancel
Save