SSH Version이 올라가면서 key exchange method를 지정해줘야 한다. ( 보안 이슈 ) , 지정하지 않고 접속을 시도하는 경우 아래와 같은 메시지를 만나게 된다.

theone@erinn:~$ ssh [email protected]
Unable to negotiate with 10.9.30.230 port 22: no matching host key type found. Their offer: ssh-rsa

/etc/ssh/ssh_config

Host *
    SendEnv LANG LC_*
    HostkeyAlgorithms +ssh-rsa

위와 같이 HostkeyAlgorithms에 Key exchange method를 추가해야 한다.

영구적으로 적용할 것이 아니라면 아래와 같은 방법을 사용할 수 있다.

ssh -oHostKeyAlgorithms=ssh-rsa [email protected]