Configure SSH to use a Jump Host

Nov, 2017

Configure SSH to use a Jump Host for ssh connections:

[ Laptop ] --ssh--> [ Jump Host ] --ssh--> [ Host ]


~/.ssh/config

Host jump-host
  User jump-host-username
  Hostname << JUMP HOST IP >>

Host host
  User host-username
  Hostname << HOST IP >>
  ProxyCommand ssh -q -W %h:%p jump-host