.ssh/config

Creator
Creator
Seonglae Cho
Created
Created
2022 Jan 18 8:18
Editor
Edited
Edited
2023 May 17 18:11
Refs
Refs
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
  • PreferredAuthentications - publickey, password
  • LocalForward - local to remote port access
  • RemoteForward - remote to local port access
 
 

Forward Port config

Proxy Jump

Remote Forward

 
 

Recommendations