Remote Port Forwarding problem
- From: Sumit Singhal <sumit_1636@xxxxxxxxx>
- 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 by Date: Re: /tmp rather than /home, attacks?
- Next by Date: ethernet tunnels with OpenSSH
- Previous by thread: Why does sshd on fedora 5 reject public key exchange
- Next by thread: ethernet tunnels with OpenSSH
- Index(es):
Relevant Pages
|