티스토리 뷰
serverSide/Linux
Ubuntu 22.04 no matching host key type found. Their offer: ssh-rsa,ssh-dss
Root_js 2024. 5. 16. 11:02(ubuntu)우분투 서버에서 CentOS6(센토스) 서버로 ssh 연결을 시도하는데 아래와 같은 에러가 나옴
no matching host key type found. Their offer: ssh-rsa,ssh-dss
ubuntu22.04와 CentOS6이 시기적으로 차이가 많이 나다보니 알고리즘 방식이 차단되면서 발생한 문제
제일 좋은 해결방법은 낮은 버전 서버를 업데이트 하는것이겠지만.... 현실적으로 어려우니...
ubuntu22.04 서버에 ssh 설정을 추가함
vim /etc/ssh/sshd_config
마지막에 아래 세줄 추가
HostkeyAlgorithms ssh-dss,ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1
PubkeyAcceptedKeyTypes +ssh-rsa
'serverSide > Linux' 카테고리의 다른 글
apache2.4 AH00051: child pid 1486424 exit signal Segmentation fault (11) (0) | 2024.07.30 |
---|---|
apache2.4 php htaccess 설정 (0) | 2024.07.18 |
awk 를 사용해서 nginx apache 로그 파일 분석 (0) | 2023.12.12 |
ubuntu22.04 설치 후 기본 세팅 (2) | 2023.11.03 |
ubuntu Server 22.04 설치 및 라우팅 설정(default routes) (0) | 2023.11.02 |
댓글