Sshfs: Connection reset by peer?

Try to connect to the server like so:
sudo sshfs //tmp / mysite

You receive the error: "read: Connection reset by peer"
In the server logs only one line: sshd[5149]: Connection closed by ip port 55682 [preauth]

So if I enter for the test, then it works and displays the text:
ssh echo text
March 12th 20 at 08:43
1 answer
March 12th 20 at 08:45
Apparently not is the ways of authorization. And if not from under root everything is OK - check you added the key.
I'm trying to connect to will droplet on digitalocean, when it is created created rsa keys. Using fiezilla enter through sftp successfully, indicating the settings the path to the private key. And here try - sudo sshfs -o IdentityFile=/home/user/keys/privatekey.ppk //tmp / mysite. and still it is impossible to have five hours of commercials. Says "Connection reset by peer" . Like ukazyvayut the same setup and private key in any way. - newell_Hegmann22 commented on March 12th 20 at 08:48
@newell_Hegmann22, try with the same settings to connect just via SSH in verbose mode. - Jeramy.Corwin commented on March 12th 20 at 08:51

Find more questions by tags SSHLinux