Update example SSH configuration

Update the example SSH configuration to make placeholders more clear

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
This commit is contained in:
Scott Lowe 2017-05-23 16:28:46 -06:00
parent 90aba1dc1e
commit 3a953dde62
No known key found for this signature in database
GPG key ID: 949F43F6E6C11780
2 changed files with 12 additions and 12 deletions

View file

@ -1,12 +0,0 @@
Host *
PubkeyAuthentication yes
Host bastion
Hostname 54.70.95.123
User ec2-user
IdentityFile ~/.ssh/aws_rsa
Host 10.2.1.*
User ec2-user
IdentityFile ~/.ssh/aws_rsa
ProxyCommand ssh bastion -W %h:%p

View file

@ -0,0 +1,12 @@
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 bastion -W %h:%p