Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Remote Port Forwarding problem |
|---|---|
| Date: | Tue, 20 Mar 2007 10:47:06 -0700 (PDT) |
Hi all, I am trying to create an SSH tunnel with a remote machine. The command I am running from my machine is: ssh -f -N -R 12345:localhost:5873 username@remotemachine So, as you could see, I am using a remote port forwarding approach. Now, to destroy this tunnel. I am finding the process through "ps" and killing it. It works fine for this. The remote port(i.e. 12345) is also getting cleared. But, if I create a tunnel and do a reboot on my machine, the remote port is not getting cleared and continues to listen for connection. Is it a bug in ssh or am i doing something wrong? Also, is there a cleaner way to destroy an alreayd created tunnel? I am using SSH version 2 on Linux box. Thanks Sumit ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: /tmp rather than /home, attacks?, Mark Senior |
|---|---|
| Next by Date: | ethernet tunnels with OpenSSH, Micha Borrmann |
| Previous by Thread: | Why does sshd on fedora 5 reject public key exchange, m . griffiths |
| Next by Thread: | ethernet tunnels with OpenSSH, Micha Borrmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |