Clodoaldo Neto
unread,Jan 13, 2012, 3:30:28 PM1/13/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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