I've a remote server where I host my projects. And I'm using my PhpStorm locally, so every time I save, it synchronizes automatically with the remote server.
However, I failed to configure PhpStorm to run PHPUnit on the remote server.
Under Configure Remote PHP Interpreter
I fill out the right information (Host, User name, and Password).
The error I'm having is "Algorithm negotiation fail"
when I validate and "Test SFTP Connection: Connection to 'id address' failed. Connection failed"
when I try to specify the path of PHP interpreter.
How do I fix that ?
I had the same problem. I solved this problem by adding
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
to
/etc/ssh/sshd_configand after that, I restart sshd
sudo systemctl restart sshd