반응형
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
반응형
'Infra' 카테고리의 다른 글
| [Azure] NSG 정책 문서화 - powershell, python (0) | 2023.02.22 |
|---|---|
| [Linux] CPU 100% agetty --noclear tty1 linux 조치 (0) | 2023.01.16 |
| [PowerShell] 이벤트뷰어 로그 추출 및 메일 발송 (0) | 2023.01.12 |
| [Azure] Backup Center 자동 확인 스크립트 (0) | 2023.01.11 |
| [Mysql] 5.5.10 소스 설치 (0) | 2022.05.24 |