Andrew's Garage

Shrunk Expand

Primary Navigation

how to set the idle-timeout in linux SSH

in /etc/ssh/sshd_config insert

 

ClientAliveInterval 600
ClientAliveCountMax 3

 

That will give you an timeout of 30 minutes (600 sec x 3)

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related


Posted on 2014-07-06 10:14 PM by andrew Comment
📂This entry was posted in Linux 참고를 위한 저장물

Related Posts

  • 2014-07-21 andrew

    자바 토큰 토크나이져(StringTokenizer)로 파일입력 파일출력

    import java.io.*; import java.util.*; public class A {   public static void main(String[] args) thro...
  • 2014-12-28 andrew

    리눅스 패스워드 정책

    확인 방법 [root@jmnote ~]# grep ^PASS /etc/login.defs PASS_MAX_DAYS 99999 PASS_MIN_DAYS 0 PASS_MIN_LEN 5...
« reading text file with utf-8 encoding using java 볼 책.. »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

( optional )


©2026 boots Entries RSS and Comments RSS Child theme Boots of Raindrops Theme