Examples
Tunneling Telnet and FTP
On ssh server.com
ssh -R 1234:localhost:23 -l jaqui ssh.client.com
This maps port 1234 (note >1024) on ssh.client.com to the servers port 23 (telnet) and starts an encrypted session
Now from client.com
telnet localhost 1234
You're now connecting via a secure tunnel back to the server.
ssh -L 1234:ftphost:21 ssh.host.com
Now from client - ftp localhost 1234
X11 Forwarding
./configure -with-x (as well as the other chosen parameters)
sshd_config
X11Forwarding yes
sshd2_config
ForwardX11 yes
hosts.allow
sshdfwd-x11: ip addrs: options
< Return to main article
Advertisement
Maximize your IT investment with monthly information from THE source...IBM Systems Magazine EXTRA eNewsletter. SUBSCRIBE NOW.
View past AIX EXTRAs here