sshfs icon indicating copy to clipboard operation
sshfs copied to clipboard

The error message is misleading and unhelpful

Open opk12 opened this issue 1 year ago • 3 comments

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.

  1. --debug should be mentioned: An error has occurred, pass --debug for more information.
  2. 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.

opk12 avatar Jun 25 '24 12:06 opk12

This Error Message is not from SSHFS, but from the sshd service. Therefore here is the wrong place for that.

KaeTuuN avatar Jul 14 '24 04:07 KaeTuuN

--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.

opk12 avatar Jul 16 '24 15:07 opk12

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.

KaeTuuN avatar Jul 17 '24 06:07 KaeTuuN