Aptana Studio 3.6.1 的 SFTP無法連結伺服器問題
有以下錯誤訊息
"
"Failed to upload file
Establishing SFTP connection failed: No suitable key exchange algorithm could be agreed.
No suitable key exchange algorithm could be agreed.
解法:
-
On remote server edit sshd_config:
nano /etc/ssh/sshd_config
-
Add the following line :
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
- Restart ssh service
#/etc/init.d/ssh restart
轉自 https://stackoverflow.com/questions/26577494/aptana-sftp-key-exchange
--
留言列表