scottslowe-learning-tools/terraform/aws/bastion-aws/ssh.cfg.example
Scott Lowe 3e2713cd95
Fix ssh.cfg.example
Fix ssh.cfg.example to correctly reference the custom SSH configuration in the ProxyCommand line

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-26 08:54:02 -06:00

12 lines
267 B
Text

Host *
PubkeyAuthentication yes
Host bastion
Hostname <public IP address of bastion>
User centos
IdentityFile </path/to/SSH/keypair>
Host 10.2.2.*
User centos
IdentityFile </path/to/SSH/keypair>
ProxyCommand ssh -F </path/to/ssh.cfg> bastion -W %h:%p