Recipes for the ssh command
Use this file to setup remote host information
vi ~/.ssh/config
# type or copy this inside the file
Host firstHop
Hostname x.x.x.x
User username
IdentityFile ~/.ssh/firstHop-id_rsa
Host secondHop
Hostname x.x.x.x
ForwardX11 yes
User username
IdentityFile ~/.ssh/secondHop-id_rsa
ProxyCommand ssh firstHop -W %h:%p
Host thirdHop
Hostname 127.0.0.1
User username
IdentityFile ~/.ssh/thirdHop-id_rsa
ProxyCommand ssh secondHop -W %h:%p
Port 2222