vaibhav pol wrote:
> Dear all,
>
>
> I setup LVS for ssh connection load balncing when i coonect to realserver
> and if ssh session get idle i disconnect with
> message "Connection reset by peer" .
> I setup LVS using NAT and round robin .
> any idea to keep idle session of ssh connected.
>
> thanks and regards,
> vaibhi
Hi Vaibhav,
1. Make sure you have "TCPKeepAlive yes" in your sshd_config file.
2. If TCPKeepAlive is already yes, then add "ClientAliveInterval" in
your sshd_config.
man sshd_config
<snip>
ClientAliveInterval
Sets a timeout interval in seconds after which if no data has
been received from the client, sshd will send a message through
the encrypted channel to request a response from the
client. The
default is 0, indicating that these messages will not be
sent to
the client. This option applies to protocol version 2 only.
</snip>
Thanks
Gowrishankar Rajaiyan | Sr Quality Analyst
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|