Home HowTos Linux

Disable SSH timeout

by

in HowTos, Linux

If you ever see your SSH session gets killed, don’t panic :-D There is nothing wrong, you need to modify the following directives in your /etc/ssh/sshd_config

vim /etc/ssh/sshd_config

Update these directives :

TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999

Restart ssh daemon

/etc/init.d/sshd restart

DONE!

Related Posts:

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: