mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Fix ssh.cfg.example to correctly reference the custom SSH configuration in the ProxyCommand line Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
12 lines
267 B
Text
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
|