Can a shell do putty like tunneling?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I just learned something new today. We have a remote client running
openldap on 389 and tomcat on 8080 . They block those ports, but leave
22 for ssh open. My boss opened a connection to the machine using
putty over ssh, and then created two tunnels for 8080 and 389. It
worked beatifully.

How can I do that in a *nix shell? Is there a popular X client that
makes it easier?


Re: Can a shell do putty like tunneling?

Quoted text here. Click to load it

Yep, see if you have an "ssh" command on your *nix box, most modern
systems have it.  If not, you will need to install some SSH software (I
prefer OpenSSH, but I'm biased).  Once you have your ssh client, it's
just a matter of telling it to forward the ports (although forwarding
port 389 will require root on the machine running ssh).

You can also get PuTTY on Unix now as well.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Re: Can a shell do putty like tunneling? (iksrazal) wrote in message
Quoted text here. Click to load it

I recommend Xshell compare to Putty due to its so many features. You
can download it from .
It also integrates with other netsarang's products such as Xmanager(PC
X server) and Xftp(SFTP/FTP client).


Site Timeline