1024programmer Java PhpStorm:Algorithmnegotiationfail


The thing is so confusing, I got an error when I used phpstorm to connect to one of my servers through the sftp protocol

Algorithm negotiation fail

This is the first time I encountered it This problem was solved by searching on stackoverflow.


Edit the /etc/ssh/sshd_config file

vim /etc/ssh/sshd_config

Add the following configuration at the end of the file (first confirm that the configuration item does not exist in the configuration file)

KexAlgorithms [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie -hellman-group1-sha1

Restart sshd

serivce sshd restart

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/756372

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us


Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top