Linux/설정 및 명령어
Session Timeout
gunner_77
2016. 11. 7. 16:31
Session Timeout
SSH Session
[root@localhost ~]# vi /etc/ssh/sshd_config
...
#ClientAliveInterval 0
#ClientAliveCountMax 3
ClientAliveInterval 300
ClientAliveCountMax 6
...
요청시간(300초) * 요청횟수(6) = 1800(초)
Session Timeout
[root@localhost ~]# vi /etc/profile
...
TMOUT = 300
export TMOUT
...
300초 후 로그아웃