Softwares |
Main /
Ssh-port-forwardingMain.Ssh-port-forwarding HistoryHide minor edits - Show changes to output Added lines 13-19:
*Another example: laptop# ssh -L 110:mailhost:110 -l user -N mailhost (Naturally, substitute user with your username, and mailhost with your mail server's name or IP address). Added lines 1-12:
%blue%Creating a simple vps. Here we will connect to the telnet server on the remote host. *Open port 5000 on your local host and tunnel it to port 23 on your remote host. ssh -L 5000:127.0.0.1:23 itmission.org netstat command will give the output for nestat -anp|grep 5000, once the tunnel is setup, we can use simple telnet command to telnet to the server. telnet localhost 5000 |