Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The error message is misleading and unhelpful #307

Open
opk12 opened this issue Jun 25, 2024 · 3 comments
Open

The error message is misleading and unhelpful #307

opk12 opened this issue Jun 25, 2024 · 3 comments

Comments

@opk12
Copy link

opk12 commented Jun 25, 2024

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.
@KaeTuuN
Copy link

KaeTuuN commented Jul 14, 2024

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

@opk12
Copy link
Author

opk12 commented Jul 16, 2024

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

@KaeTuuN
Copy link

KaeTuuN commented Jul 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants