원문 : http://www.openssh.com/legacy.html
If the client and server are unable to agree on a mutual set of parameters then the connection will fail. OpenSSH (7.0 and greater) will produce an error message like this:
Unable to negotiate with legacyhost: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 |
For the case of the above error message, OpenSSH can be configured to enable the diffie-hellman-group1-sha1 key exchange algorithm (or any other that is disabled by default) using the KexAlgorithms option - either on the command-line:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@legacyhost |
or in the ~/.ssh/config file:
Host somehost.example.org KexAlgorithms +diffie-hellman-group1-sha1 |
OpenSSH 7.0 이상에서는 해당 옵션이 기본으로 enable 되어 있지 않기 때문에
옵션을 넣어줘야 한다.
항상 넣기 귀찮으니 config를 만들어서 넣고 쓰도록 하자.
config파일이 없으면 그냥 생성하면 적용 됨.
'Programming > linux왕초보' 카테고리의 다른 글
ssh사용 시 diffie-hellman-group1-sha1 관련 (0) | 2018.01.30 |
---|---|
pthread min, max priority on linux (0) | 2017.06.12 |
use vim like as source insight (0) | 2016.04.06 |
[ubuntu] change default shell (0) | 2016.03.22 |
GDB를 사용한 CORE 파일의 분석 (0) | 2016.02.05 |
kernel make menuconfig error (0) | 2016.01.21 |
Caching your GitHub password in Git (0) | 2016.01.08 |
Serial ports usage on Linux (0) | 2016.01.08 |
process 종료 (0) | 2015.05.28 |
fork (0) | 2015.05.26 |
Linux SSD 최적화 (0) | 2015.04.17 |