서버/개발환경
Establishing SFTP connection failed : No suitable key exchange algorithm could be agreed
아카이sun
2017. 1. 23. 23:24
Aptana3에서 SSL을 적용하고 접속하려고하니 다음과 같은 에러가 난다.
Establishing SFTP connection failed : No suitable key exchange algorithm could be agreed
분명 open SSL이고 이상할 것 없는데....
구글링하여 문제를 해결하였다.
ssh폴더의 sshd_config파일에 다음을 추가한다.
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,blowfish-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
KexAlgorithms=curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
그리고 ssh 재기동
service ssh restart