/etc/ssh/ssh_config에 다음을 설정했습니다.
Host *
ServerAliveInterval 100
/etc/ssh/sshd_config의 다음
ClientAliveInterval 100
ClientAliveCountMax 3
다음은 비밀번호 입력 후 ssh의 로그이다.
root@localhost's password:
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (password).
Authenticated to localhost ([127.0.0.1]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting [email protected]
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: send packet: type 1
packet_write_wait: Connection to 127.0.0.1 port 22: Broken pipe