From abeba6f536d04b898ee61840114dc95d1a5fba38 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Sun, 27 Apr 2014 16:14:03 +0600 Subject: [PATCH] =?UTF-8?q?ssh:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D1=83=D0=B7=D0=BB=D1=8B=20=D1=81=D0=B5?= =?UTF-8?q?=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/net/ssh/config | 57 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/etc/net/ssh/config b/etc/net/ssh/config index 653a16c..57fe73d 100644 --- a/etc/net/ssh/config +++ b/etc/net/ssh/config @@ -2,11 +2,14 @@ Host * ControlMaster auto ControlPath /home/%u/.ssh/sessions/%h_%p_%r -#------ [ KB ] +#------ [ DC ] -Host kb - User root - HostName 193.169.52.214 +Host dc + User taxi + HostName 193.169.52.76 + +Host dc-v-sites + HostName 193.169.52.78 #------ [ TX ] @@ -15,14 +18,38 @@ Host tx-o HostName 85.192.165.42 Port 1023 -#------ [ DC ] +#------ [ AWS ] -Host dc - User taxi - HostName 193.169.52.76 +Host aws + User ubuntu + HostName 54.72.210.58 + IdentityFile ~/.ssh/aws.pem -Host dc-v-sites - HostName 193.169.52.78 +#------ [ KB ] + +Host kb + User root + HostName 193.169.52.214 + +Host kb-v-kb + User root + HostName 192.168.115.10 + ProxyCommand ssh -t -t kb -W %h:%p + +Host kb-v-pb + User root + HostName 192.168.115.15 + ProxyCommand ssh -t -t kb -W %h:%p + +Host kb-v-pb-old + User root + HostName 192.168.115.105 + ProxyCommand ssh -t -t kb -W %h:%p + +Host kb-v-pb-dev + User root + HostName 192.168.115.115 + ProxyCommand ssh -t -t kb -W %h:%p #------ [ Atpl ] @@ -35,12 +62,10 @@ Host atpl-v-sites HostName 192.168.115.50 ProxyCommand ssh -t -t atpl -W %h:%p -#------ [ AWS ] - -Host aws - User ubuntu - HostName 54.72.210.58 - IdentityFile ~/.ssh/aws.pem +Host atpl-v-sql + User root + HostName 192.168.115.102 + ProxyCommand ssh -t -t atpl -W %h:%p #------ [ Office ]