Commit 07a64c3bb3da9d9326cc07ead7a6e400fc8fdf72

Authored by Athos
1 parent f25836c1

use $USER for ssh connections at CDTC

Showing 1 changed file with 4 additions and 15 deletions   Show diff stats
config/production/ssh_config
@@ -4,41 +4,30 @@ Host * @@ -4,41 +4,30 @@ Host *
4 Host reverseproxy 4 Host reverseproxy
5 Hostname 164.41.9.49 5 Hostname 164.41.9.49
6 Port 55555 6 Port 55555
7 - User spb  
8 7
9 Host reverseproxy.unconfigured 8 Host reverseproxy.unconfigured
10 Hostname 164.41.9.49 9 Hostname 164.41.9.49
11 - User spb  
12 10
13 Host database 11 Host database
14 Hostname 10.10.40.47 12 Hostname 10.10.40.47
15 - #Hostname 164.41.9.47  
16 Port 55555 13 Port 55555
17 - User spb  
18 # connect via reverseproxy host 14 # connect via reverseproxy host
19 - ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22  
20 - #ProxyCommand ssh spb@164.41.9.49 nc %h %p 15 + ProxyCommand ssh 164.41.9.49 -p %p nc %h 22
21 16
22 Host social 17 Host social
23 Hostname 10.10.40.46 18 Hostname 10.10.40.46
24 - #Hostname 164.41.9.46  
25 Port 55555 19 Port 55555
26 - User spb  
27 # connect via reverseproxy host 20 # connect via reverseproxy host
28 - ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22 21 + ProxyCommand ssh 164.41.9.49 -p %p nc %h 22
29 22
30 Host email 23 Host email
31 Hostname 10.10.40.48 24 Hostname 10.10.40.48
32 - #Hostname 164.41.9.48  
33 Port 55555 25 Port 55555
34 - User spb  
35 # connect via reverseproxy host 26 # connect via reverseproxy host
36 - ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22 27 + ProxyCommand ssh 164.41.9.49 -p %p nc %h 22
37 28
38 Host integration 29 Host integration
39 Hostname 10.10.40.45 30 Hostname 10.10.40.45
40 - #Hostname 164.41.9.45  
41 Port 55555 31 Port 55555
42 - User spb  
43 # connect via reverseproxy host 32 # connect via reverseproxy host
44 - ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22 33 + ProxyCommand ssh 164.41.9.49 -p %p nc %h 22