본문 바로가기
Programming/Etc

[SSH] no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

by guru_k 2017. 5. 26.
728x90
반응형

no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 문제


OpenSSH가 7.0이상 키 교환 알고리즘이 기본으로 켜져 있지 않아서 나는 문제로


SSH 접속 시 직접 알고리즘을 키거나 


1
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@host

cs


~/.ssh/config 설정을 추가하면 된다.


1
2
3
4
5
6
7
HOST host
 HostName host
 User user
 Port port
 KexAlgorithms diffie-hellman-group1-sha1
 
$ssh host
cs


 


728x90
반응형

댓글