Thread: sshfs connection reset by peer
i using ssh public keys , 1 user unable mount shared partition. able mount same directory remotely locally , on internet other user keeps getting same error every time attempts mount partition using sshfs, locally or outside internet.
user can log in file server remotely , internet using ssh , has access directory sshfs gives same error: sshfs connection reset peer
possible firewall denying access through sshfs? have given user permission mount local drives on file server , added user "fuse" group. why user unable mount shared partition?
command fails:
sshfs 192.168.1.100:/media/hd /media/shared_drive
below sshd_config:
package generated configuration file
# see sshd(8) manpage details
# ports, ips , protocols listen for
#port 22
# use these options restrict interfaces/protocols sshd bind to
#listenaddress ::
#listenaddress 0.0.0.0
protocol 2
# hostkeys protocol version 2
hostkey /etc/ssh/ssh_host_rsa_key
hostkey /etc/ssh/ssh_host_dsa_key
#privilege separation turned on security
useprivilegeseparation yes
# lifetime , size of ephemeral version 1 server key
keyregenerationinterval 3600
serverkeybits 768
# logging
syslogfacility auth
loglevel info
# authentication:
logingracetime 120
permitrootlogin no
strictmodes yes
rsaauthentication yes
pubkeyauthentication yes
#authorizedkeysfile %h/.ssh/authorized_keys
# don't read user's ~/.rhosts , ~/.shosts files
ignorerhosts yes
# work need host keys in /etc/ssh_known_hosts
rhostsrsaauthentication no
# similar protocol version 2
hostbasedauthentication no
# uncomment if don't trust ~/.ssh/known_hosts rhostsrsaauthentication
#ignoreuserknownhosts yes
# enable empty passwords, change yes (not recommended)
permitemptypasswords no
# change yes enable challenge-response passwords (beware issues with
# pam modules , threads)
challengeresponseauthentication no
# change no disable tunnelled clear text passwords
passwordauthentication no
# kerberos options
#kerberosauthentication no
#kerberosgetafstoken no
#kerberosorlocalpasswd yes
#kerberosticketcleanup yes
# gssapi options
#gssapiauthentication no
#gssapicleanupcredentials yes
x11forwarding yes
x11displayoffset 10
printmotd no
printlastlog yes
tcpkeepalive yes
#uselogin no
#maxstartups 10:30:60
banner /etc/issue.net
# allow client pass locale environment variables
acceptenv lang lc_*
subsystem sftp /usr/lib/openssh/sftp-server
usepam yes
#users allow
allowusers 1 two
port 9090
does or happen after longer while?
sshfs uses sftp part of ssh , uses same ports , protocol ssh.
can connect using sftp? if not, sshfs won't work.
both connecting same lan?
allow groups easier way manage can log in allow users. can add or remove access using regular system tools , not need edit sshd_config or restart make these changes. can add many more users via groups before gets unwieldy.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu_studio] sshfs connection reset by peer
Ubuntu

Comments
Post a Comment