*Fixed* When adding deployment servers, testing sftp fails. Error code 386. Using the terminal in phpstorm, sftp works fine.
Can't add any deployment servers, because it fails to connect via SFTP. But I can SFTP from the terminal in PhpStorm. Couldnt find anything explaining or documenting an 386. Checked for PhpStorm, SFTP, and SSH and found no corresponding error.
IPs are blurred for obvious reasons, but they're the same I checked several times to make sure.
请先登录再写评论。
Hi there,
You can enable additional logging for deployment operations ( How-to: Collecting PhpStorm/WebStorm debug Logs ) and then check idea.log for more detailed info/possible hints (Help | Show Log in...)
Hi,
Yes, enabling debug information collection, then reproducing the issue and checking the log is the preferred way - we will know what comes from SSH server itself.
Found the issue. Turns out the known hosts file had an issue and phpstrom couldn't read it. Since been fixed.
I just resolved what I think is the same issue.
Connecting over SFTP and SSH works fine in terminal, but WebStorm can't do the same thing using "Browse Remote Host".
What had recently changed is I added a network switcher to my LAN and moved my device. The known_hosts file did not update in a way that suited WebStorm. In command line:
ssh-keygen -R pi@raspberrypi.local
...reset my RSA keys for the pi and WebStorm was able to auto-detect it on the network - no problem.