Today's Pungenday, the 38th day of Chaos in the YOLD 3178.

SSH Tunneling

2010-08-11 by xpheas
My DSL-modem only supports insecure telnet, but on my Debian Server runs OpenSSH.
So i can tunnel a Telnet session through an SSH connection:
BASH-Code:
1
ssh user@host -NfL 9023:192.168.1.1:23

  -N no interactive ssh session
  -f background
  -L local port

Now i can connect to my modem:
BASH-Code:
1
telnet localhost 9023

  « back

Feel Free to Leave a Comment

Name:*


Email: (not visible)


Website:


Comment:*