The error message is misleading and unhelpful
First, sshfs is very useful and I'd like to thank you for your work.
When sshfs cannot start, it prints read: Connection reset by peer.
- --debug should be mentioned:
An error has occurred, pass --debug for more information. - The message is often wrong. The actual problem is likely misconfiguration and not related to the network, as described in this thread at unix.SE.
This Error Message is not from SSHFS, but from the sshd service. Therefore here is the wrong place for that.
--debug should be mentioned in any case, no?
This Error Message is not from SSHFS, but from the sshd service.
If you mean that sshfs echoes a string received from the server, that can't happen if the connection failed.
Sorry, bad wording from my side.
The Message you recieved is from the SSH Client trying to connect to the server and getting refused.
If you mean that sshfs echoes a string received from the server, that can't happen if the connection failed.
This not completly correct. The Client establishes a connection to the server and then tries to authenticate. However, the Authentication Process fails and the connection is then closed by the server. And this leads us to your error message.