1) Open the ssh_config file.
location may differ,in centos
vim /etc/ssh/ssh_config
2) Add following lines
Host *
ServerAliveInterval 300
ServerAliveCountMax 2
Remember, this configuration is done at client side. client send keep alive message to server every 180 seconds and server send ack (acknowledgement) message.If 2 consecutive ack messages are lost from server side. connection will be dropped as server is not available.
Very interesting article and I did not know technology could freeze like this. I love finding tech blogs like this because they always give great information on new technological innovations. I have been reading about the new storage units that companies are using for their computer equipment. I think Server Racks are a great option because they allow you to customize your set up and have plenty power outlets that will keep everything organized
ReplyDeleteThe story that you come. I think this is interesting, and I'm going to follow and read about it all along. พืช
ReplyDelete