Child pages
  • SSH-Tunneling hints

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: socket forwarding and ProxyJump Hopping


To close the tunnel, abort or kill the according ssh process (ctrl-c, evtl. after fg to get it back to the foreground).

Additional Notes:

Forwards (-L resp. Forward) and reverse forwards (-R resp. RemoteForward) can only be applied to sockets, like ~/.gnupg/S.gpg-agent if the socket to listen on is not yet owned by some daemon.

Hopping can be done automatically using ProxyJump option.


Putty is the most common ssh client for Windows. Hints for setting up key-based ssh access with Putty can be found everywhere on the internet, we'll focus on tunneling here.
Just one hint anyway: With ssh keys, have pageant running. Simply double-klick the .ppk file or even put it in your autostart group.