[SSHD] ssh 서버의 타임아웃 안되도록 설정

지훈현서|2021년 3월 21일
Posts

[SSHD] ssh 서버의 타임아웃 안되도록 설정

지훈현서|2021년 3월 21일

매번 까먹어서 다시 정리합니다. 서버 쪽 /etc/ssh/sshd_config 에 다음 내용이 되어 있는지 확인합니다. TCPKeepAlive no ClientAliveInterval 30ClientAliveCountMax 240 다음은 위 항목에 대한 내용입니다. TCPKeepAlive Specifies whether the system should send TCP keepalive messages to the other side. If they are sent, death of the connection or crash of one of the machines will be properly noticed. However, this means that connecti