Linux - увеличить таймаут ssh сессии

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Самые выгодные сервера‎ в рунете


Linux - увеличить таймаут ssh сессии

Раскомментируем и редактируем в конфиге sshd:

# vi /etc/ssh/sshd_config
TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 1440

1440m/60=24 часа.