SSH 접속할때 putty 에서 패스워드 입력중간에 끊기거나 연결 후 바로 끊기는 현상이 확인되었습니다.
Network error. Software caused connection abort
sshd 로그 : Jan 13 17:55:53 [hostname] sshd[603]: fatal: mm_request_receive_expect: read: rtype 124 != type 26
-> 정확한 원인 찾기 어려워 sshd 재기동
systemctl restart sshd
위의 sshd 재기동 후에도 다른 로그 뜨면서 접속이 안됨.
Jan 13 18:01:00 [hostname] sshd[20112]: fatal: Read from socket failed: Connection reset by peer [preauth]
-> 인증서문제로 보이므로 서버에서 아래 명령어로 인증서 재생성
rm /etc/ssh/ssh_host_*
ssh-keygen -A
'System > CentOS | Ubuntu' 카테고리의 다른 글
[Ubuntu] 초기 설정 (0) | 2023.10.24 |
---|---|
[Linux] CPU 100% agetty --noclear tty1 linux 조치 (0) | 2023.01.16 |
[Mysql] 5.5.10 소스 설치 (0) | 2022.05.24 |
[Ubuntu 16.04] Bash가 이상해요 (0) | 2021.05.06 |
[CentOS] 6 -> 7 업그레이드 (0) | 2021.04.13 |