Host serverA HostName serverA_ip PreferredAuthentications publickey IdentityFile your_key User you Host serverB Hostname serverB_ip IdentityFile your_key ProxyJump serverA User you LocalForward 8000:localhost:8000 RemoteForward 9222 localhost:9222
ProxyCommand
- proxy command to use
ProxyJump
- double ssh
DynamicForward
- SOCKS Proxy
PreferredAuthentications
- publickey, password
LocalForward
- local to remote port access
RemoteForward
- remote to local port access