[ MacOS ] ssh 접속시 오류 ( macos Unable to negotiate with 00.00.00.00 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss > os

본문 바로가기

사이트 내 전체검색

os

[ MacOS ] ssh 접속시 오류 ( macos Unable to negotiate with 00.00.00.00 port…

작성일 23-02-09 14:27

페이지 정보

작성자 웹지기 조회 1,318회 댓글 0건

본문

 macos Unable to negotiate with 00.00.00.00 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss 

이러한 오류가 발생했다.

검색해보니 업데이트 이후에  발생하는 오류라고 한다.

해결방안 

  • 쉘에서 다음으로 접속한다. 

  • >sudo vi /etc/ssh/ssh_config 

  • 파일의  맨하단에 하단의 두줄을 추가해 준다. 

  • HostkeyAlgorithms ssh-dss,ssh-rsa 
    KexAlgorithms +diffie-hellman-group1-sha1 

  •  

  • 추가후 재시작은 할 필요가 없다 바로 적용된다. 


추천0

비추천 0

댓글목록

등록된 댓글이 없습니다.

전체 9건 1 페이지

이미지 목록

게시물 검색
Copyright © 즐거운 코딩 생활 ( funyphp ). All rights reserved.
PC 버전으로 보기