
+-------+ +----------+ +-----------+
| Laptop| --> | Jumphost | --> | FooServer |
+-------+ +----------+ +-----------+
Host jumphost
HostName gpu.jumphost.ai
Port 5501
User Username
IdentityFile ~/.ssh/id_rsa
Host fooserver
HostName gpu.fooserver.ai
IdentityFile ~/.ssh/id_rsa
ProxyCommand ssh jomphost -W %h:%p
출처 : https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/