Keep SSH Sessions alive in Linux

It was back in 2013 when I posted something about how to set a keep-alive for SSH sessions in putty. Well if you are in Linux and you are using the SSH client shipped with it to connect to your servers you might want to do the same too. Getting your connection lost is really annoying.

Well the cure for this is to edit ssh_config file which is placed on /etc/ssh/.

Open it and add this lines to it after Host *

that’s it, your client will send a keep alive request to the server every 60 seconds now.

Incoming search terms:

  • www gogle play

Leave a Reply