Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Stuck client

4 views
Skip to first unread message

Clodoaldo Neto

unread,
Jan 13, 2012, 3:30:28 PM1/13/12
to
I'm initiating a reverse tunnel from the server like this:

ssh cz -nNCTR 5433:localhost4:5432

And it works as expected. But when after some time the ADSL
connections fails the client is stuck and I can't initiate another
reverse tunnel until I log to the client and kill the process.

I would like the client process to finish when there is no answer from
the server.

This are some lines from the client's ssh_config:

ServerAliveCountMax 6
ServerAliveInterval 8
TCPKeepAlive no

And from the server's sshd_config:

Protocol 2
TCPKeepAlive no
ClientAliveInterval 10
ClientAliveCountMax 6

This is Centos 6. In Centos 5 it was working as expected, although I'm
not sure the configuration directives were the same.

What I am missing?

Regards, Clodoaldo
0 new messages