Linux Archive

Linux Archive (
-   Ubuntu User (
-   -   ssh port forwarding hangs when logout (

Smoot Carl-Mitchell 11-13-2009 06:35 PM

ssh port forwarding hangs when logout
On Tue, 2009-10-20 at 16:05 +0530, Manoj Singh wrote:
> Hi,
> I am using ssh to connect to my ubuntu web server. Also I am using
> port forwarding to access the webmin panel of the server from the
> local machine. But it seems that most of the times when I am
> connecting through ssh using port forwarding and then upon exit ssh
> hangs on logout. I have to manually press "Ctrl + C" to terminate the
> connection.

If you are port forwarding and there is an active connection on the
forwarded port, then the SSH connection will wait until the active
connection closes. This is normal and expected behavior.
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
+1 480 922 7313
cell: +1 602 421 9005

ubuntu-users mailing list
Modify settings or unsubscribe at:

All times are GMT. The time now is 11:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.