SFTP no working with PHPSTORM

  • Posted August 31, 2014

Hello, I have a droplet with SSH key. My SSH and SFTP access work perfectly with Mac OSX Terminal and Transmit.
But for some reason SFTP does not work with PHPSTORM :

Connection to 'ip_address' failed
SSH_MSG_DISCONNECT: 2 Too many authentication failures for root

I had this problem when I upgraded PHPStorm to 2016.1. It looks like the passphrase (encryption algorithm ?) is stored differently so it doesn’t match.

I couldn’t remember what passphrase I used at key creation, so I had to regenerate.

Hope this helps someone.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks @cosminflo. Had the same issue issue using Laravel Homestead. Simply retyped my SSH password and hit Apply and BOOM!!! Fixed :-)

Just regenerate with correct format:

-Open your private key in PuTTYGen -Top menu “Conversions”->”Export OpenSSH key”. -Save the new OpenSSH key when prompted. -Restart machine maybe needed (in my case).