Tag Archives: sshfs

sshfs read: Connection reset by peer

sshfs -odebug,sshfs_debug,loglevel=debug -o allow_other,default_permissions ...
SSHFS version 2.8
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <-x> <-a> <-oClearAllForwardings=yes> <-ologlevel=debug> <-2> <-s>
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
ssh: Could not resolve hostname [email protected]: Name or service not known
read: Connection reset by peer

SSH based filesystem

This is a file system client based on the SSH File Transfer Protocol.

  • Based on FUSE (the best userspace file system framework for linux 😉
  • Multi-threading: more than one request can be on it’s way to the server
  • Allowing large reads (max 64k)
  • Caching directory contents
yum install fuse-sshfs

If you want use sshfs as non root user: usermod -a -G fuse vitalijus

Mounting SSHFS

sshfs user@remote:/path local_mount_point options

You can even use fstab to use SSHFS permanently:
user@dremote:/path local_mount_point fuse.sshfs defaults,allow_other,_netdev 0 0