From 3a953dde62029f0b9a247f883efaaf96187c164a Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Tue, 23 May 2017 16:28:46 -0600 Subject: [PATCH] Update example SSH configuration Update the example SSH configuration to make placeholders more clear Signed-off-by: Scott Lowe --- terraform/aws/bastion-aws/ssh.cfg | 12 ------------ terraform/aws/bastion-aws/ssh.cfg.example | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 terraform/aws/bastion-aws/ssh.cfg create mode 100644 terraform/aws/bastion-aws/ssh.cfg.example diff --git a/terraform/aws/bastion-aws/ssh.cfg b/terraform/aws/bastion-aws/ssh.cfg deleted file mode 100644 index 4b64dc1..0000000 --- a/terraform/aws/bastion-aws/ssh.cfg +++ /dev/null @@ -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 diff --git a/terraform/aws/bastion-aws/ssh.cfg.example b/terraform/aws/bastion-aws/ssh.cfg.example new file mode 100644 index 0000000..ec6364a --- /dev/null +++ b/terraform/aws/bastion-aws/ssh.cfg.example @@ -0,0 +1,12 @@ +Host * + PubkeyAuthentication yes + +Host bastion + Hostname + User centos + IdentityFile + +Host 10.2.2.* + User centos + IdentityFile + ProxyCommand ssh bastion -W %h:%p