diff --git a/config/dev/ssh_config b/config/dev/ssh_config index e45f6cd..498c073 100644 --- a/config/dev/ssh_config +++ b/config/dev/ssh_config @@ -1,10 +1,16 @@ Host * ForwardAgent yes -Host reverseproxy +Host reverseproxy.unconfigured Hostname 189.9.151.16 User spb +Host reverseproxy + Hostname 10.18.0.15 + User spb + Port 5555 + ProxyCommand ssh spb@189.9.151.16 -p 22 nc %h 5555 + Host database Hostname 10.18.0.16 User spb @@ -24,7 +30,6 @@ Host email ProxyCommand ssh spb@189.9.151.16 nc %h %p Host integration - Hostname 10.18.0.19 + Hostname 189.9.151.16 User spb - # connect via reverseproxy host - ProxyCommand ssh spb@189.9.151.16 nc %h %p + # Porta 22 de 189.9.151.16 cai aqui entao nao precisa de ProxyCommand diff --git a/config/homologa/ssh_config b/config/homologa/ssh_config index c88e44e..2fde796 100644 --- a/config/homologa/ssh_config +++ b/config/homologa/ssh_config @@ -8,8 +8,9 @@ Host reverseproxy.unconfigured Host reverseproxy Hostname 10.0.13.2 User spb + Port 55555 # connect via reverseproxy host - ProxyCommand ssh spb@189.9.151.65 nc %h %p + ProxyCommand ssh spb@189.9.151.65 -p 22 nc %h 55555 Host database Hostname 10.0.13.6 @@ -30,6 +31,6 @@ Host email ProxyCommand ssh spb@189.9.151.65 nc %h %p Host integration - Hostname 10.0.13.7 + Hostname 189.9.151.65 User spb # Porta 22 de 189.9.151.65 cai aqui entao nao precisa de ProxyCommand -- libgit2 0.21.2