From 9f32a04608d5ab8b7ee0f9b24f8d498512da6af6 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 10 Dec 2015 19:43:02 +0200 Subject: [PATCH] Some more updates to ssh_config. --- .ssh/config.d/20_ec2 | 1 + .ssh/config.d/20_shore | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.ssh/config.d/20_ec2 b/.ssh/config.d/20_ec2 index 2085d6f..d23a1b5 100644 --- a/.ssh/config.d/20_ec2 +++ b/.ssh/config.d/20_ec2 @@ -1,4 +1,5 @@ # Disable SSH host key checking for EC2 instances. + Host *.compute-1.amazonaws.com UserKnownHostsFile /dev/null StrictHostKeyChecking no diff --git a/.ssh/config.d/20_shore b/.ssh/config.d/20_shore index 4833efe..21fe2d6 100644 --- a/.ssh/config.d/20_shore +++ b/.ssh/config.d/20_shore @@ -1,12 +1,11 @@ # shore.co.il infrastructure -User nimrod -IdentityFile shore_rsa - Host ns1 HostName ns1.shore.co.il LocalForward 9091 xbmc.trusted:9091 DynamicForward 8080 +User nimrod +IdentityFile ~/.ssh/shore_rsa Host xbmc HostName xbmc.trusted @@ -17,13 +16,21 @@ ProxyCommand ssh ns1 nc %h %p Host web1 HostName web1.trusted ProxyCommand ssh ns1 nc %h %p +User nimrod +IdentityFile ~/.ssh/shore_rsa Host ns2 HostName ns2.shore.co.il User admin DynamicForward 9999 ProxyCommand ssh ns1 nc %h %p +IdentityFile ~/.ssh/shore_rsa Host cgit HostName cgit.trusted ProxyCommand ssh ns1 nc %h %p +User nimrod +IdentityFile ~/.ssh/shore_rsa + +HostName gitolite.Ansible.vagrant +IdentityFile ~/.ssh/shore_rsa -- GitLab