Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: chris burnat on April 26, 2005, 06:15:38 AM
-
When establishing an ssh tunel in putty to access server-manager from a browser [via http://localhost:980], the tunnel closes when terminating the session in putty. However, when establishing the same tunnel from a linux system using the command:
ssh -L 980:localhost:980 -C 192.168.0.10
one can still access http://localhost:980 even when the ssh session has been closed from the terminal.
How to tell if a ssh tunnel is still up, and how to close the tunel? Many thnaks for any help. chris.
-
For how long can you tunnel with the linux system after the ssh-terminal-session closes?
-
I do not known, quite a while. I will time it on my test box and let you know tomorrow.
-
Does this http://no.longer.valid/phpwiki/index.php/SecurityFAQ#ssh1 shed any light on this? Maybe a timeout problem?
-
Thanks for passing this information. Timeout occured at 600s, makes sense. I have also used the following command, but could not figure out what the sleep 100000 means:
ssh -L 980:localhost:980 -C 192.168.0.10 -f sleep 100000
- it is setting the timeout to 100000s, no wonder I was waiting for it to close...