Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
CentOS 7.x에서는 별문제가 없는데, ssh-rsa 알고리즘 사용이 비활성화 되서 발생하는 문제로 보여지는데, /etc/ssh/ssh_config 를 수정하는 것으로 문제를 해결할 수 있었다.
아래처럼 Host * 아래에 HostkeyAlgorithms, PubkeyAcceptedAlgorithms를 설정해 주면 된다.
Host * HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa
새댓글 등록