Skip to content

Instantly share code, notes, and snippets.

@tayzlor
Created July 25, 2013 17:03
Show Gist options
  • Select an option

  • Save tayzlor/6081740 to your computer and use it in GitHub Desktop.

Select an option

Save tayzlor/6081740 to your computer and use it in GitHub Desktop.
ControlMaster auto
ControlPath /tmp/%h_%p_%r
ControlPersist 1800
# Check that the connection is still available every 15 seconds. If three
# consecutive attempts fail drop the connection.
# This is useful to automatically drop closed connections which is especially
# useful when using tools such as autossh. While they tend to have their own
# heartbeats (ping tunnels and echo services) they tend to be very fragile.
ServerAliveInterval 15
ServerAliveCountMax 3
Host rmg.jump
HostName 10.65.77.212
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host sit3web
HostName 10.65.79.12
ProxyCommand ssh jumpbox nc %h 22
Host rmg.jenkins
HostName 10.65.77.231
1,1 Top
Host rmg.jenkins
HostName 10.65.77.231
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.drdb1
HostName 10.65.78.141
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.drdb2
HostName 10.65.78.143
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.int1
HostName 10.65.78.111
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.zeus.1
HostName 10.65.76.91
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.zeus.2
HostName 10.65.76.92
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
taylor@Grahams-MacBook-Pro:~/Sites/d8$ vi ~/.sshbackup/config
taylor@Grahams-MacBook-Pro:~/Sites/d8$ cat ~/.sshbackup/config
ControlMaster auto
ControlPath /tmp/%h_%p_%r
ControlPersist 1800
# Check that the connection is still available every 15 seconds. If three
# consecutive attempts fail drop the connection.
# This is useful to automatically drop closed connections which is especially
# useful when using tools such as autossh. While they tend to have their own
# heartbeats (ping tunnels and echo services) they tend to be very fragile.
ServerAliveInterval 15
ServerAliveCountMax 3
Host rmg.jump
HostName 10.65.77.212
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host sit3web
HostName 10.65.79.12
ProxyCommand ssh jumpbox nc %h 22
Host rmg.jenkins
HostName 10.65.77.231
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.drdb1
HostName 10.65.78.141
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.drdb2
HostName 10.65.78.143
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.jenkins
HostName 10.65.77.231
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.log.1
HostName rmg15log01drp
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.log.2
HostName rmg15log02drp
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.log.3
HostName rmg15log03drp
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.lst.web.1
HostName rmg15web01lst.uk-prv.attenda.net
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.lst.web.2
HostName rmg15web02lst.uk-prv.attenda.net
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.lst.web.21
HostName rmg15web21lst.uk-prv.attenda.net
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.lst.db
HostName rmg15dbm01lst.uk-prv.attenda.net
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.web.1
HostName 10.65.77.12
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.web.2
HostName 10.65.77.13
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.web.3
HostName 10.65.77.14
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.web.4
HostName 10.65.77.15
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.web.5
HostName 10.65.77.16
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.web.6
HostName 10.65.77.17
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.db.1
HostName 10.65.78.145
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.db.2
HostName 10.65.78.147
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.db.s1
HostName 10.65.78.146
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.ppd.db.s2
HostName 10.65.78.148
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.1
HostName 10.45.77.11
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.10
HostName 10.45.77.22
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.11
HostName 10.45.77.23
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.12
HostName 10.45.77.24
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.16
HostName 10.45.77.36
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.17
HostName 10.45.77.37
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.18
HostName 10.45.77.38
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.2
HostName 10.45.77.12
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.3
HostName 10.45.77.13
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.4
HostName 10.45.77.14
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.5
HostName 10.45.77.15
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.6
HostName 10.45.77.16
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.7
HostName 10.45.77.17
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.web.8
HostName 10.45.77.18
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.db.1
HostName 10.45.78.141
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.db.2
HostName 10.45.78.148
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.db.s1
HostName 10.45.78.142
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.db.s2
HostName 10.45.78.149
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.mem.1
HostName 10.45.77.17
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.prod.mem.2
HostName 10.45.77.18
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User rmgadm
ForwardX11 yes
ForwardX11Trusted no
Host rmg.sit3.web
HostName 10.65.79.12
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.sit3.db
HostName 10.65.79.172
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.sit3.mem
HostName 10.65.79.17
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.sit3.zeus
HostName 10.65.79.233
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.web.1
HostName 10.65.78.81
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.web.2
HostName 10.65.78.82
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.web.3
HostName 10.65.78.83
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.web.4
HostName 10.65.78.84
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.web.5
HostName 10.65.78.85
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.web.6
HostName 10.65.78.86
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.db
HostName 10.65.79.176
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.int1
HostName 10.65.78.111
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.zeus.1
HostName 10.65.76.91
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
ForwardX11Trusted no
Host rmg.uat.zeus.2
HostName 10.65.76.92
ProxyCommand ssh rmg.jump nc %h 22
ForwardAgent yes
User grataylo
ForwardX11 yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment