https:// my-server . pagekite . me
In your ~/.ssh/config:
Host *.pagekite.me
CheckHostIP no
ProxyCommand /bin/nc ↩
-X connect -x %h:443 %h %p
✓
(✓)
ssh -L 3000:home-pc.fritz.box:22 my-server.pagekite.me
ssh localhost:3000
ssh ↩
-L ↩ <-- Start secure shell tunneling.
3000: ↩ <-- Port on localhost to use.
home-pc.fritz.box ↩ <-- Destination system as seen trough the tunnel.
:22 ↩ <-- Port on the destination to reach.
↩
my-server.pagekite.me <-- Gateway.
ssh localhost:3000 <-- Our local Port 3000 now forwards our
SSH-request to our tunnel system which
then forwards it to port 22 of our
destination system.