How to fix sshfs "Connection reset by peer"

Clear out the /etc/hosts.deny file on the destination server

Also, make sure these lines are uncommented in your sshd_config file on the destination server:

/etc/ssh/sshd_config:
Subsystem       sftp    /usr/libexec/openssh/sftp-server
DenyGroups nossh

Restart sshd.


This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>