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
[EMAIL PROTECTED]
 
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/

Reply via email to