how to stop ssh sessions timing out - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: Remote Access (https://www.linux-noob.com/forums/forum-88.html) +--- Thread: how to stop ssh sessions timing out (/thread-3469.html) |
how to stop ssh sessions timing out - anyweb - 2004-04-15 if you connect to another pc via ssh, you may notice that after a period of inactivity, that the ssh session idles and disconnects you (you cannot type anymore in the cosole for example) to get around this, simply edit the following file as below and add the following line to auto ping a packet (keepalive as it were) Code: vi /etc/ssh/sshd_config save ( ESC :wq ) and restart your sshd server Code: service sshd restart cheers anyweb |