Page tree
Skip to end of metadata
Go to start of metadata

Let's tunnel port 8443 on hostname.ethz.ch to port 8111 on the localhost.
You can then point your web browser to https://localhost:8111 and it'll look like https://hostname.ethz.ch:8443

In .ssh/config you can put:

Host alias 
  HostName hostname.ethz.ch
  localForward 8111 hostname.ethz.ch:8443

Another way is to:

~$ ssh -L 8111:hostname.ethz.ch:8443 user@hostname.ethz.ch

With Windows PuTTY it's done in 'Connection' - 'SSH' - 'Tunnels'

  • No labels