Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to mount a remote drive using sshfs using my fstab. Both the remote directory and the mount point are /home/media. When I type mount /home/media I get the error: 'read: connection reset by peer'.

I've already set up my ssh keys with the server so I don't need to log in using a password so I'm assuming ssh doesn't need a password. What can I do to troubleshoot the cause of this problem?

sshfs#media@MYSERVERIP:/home/media    /home/media    fuse comment=sshfs,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0 
share|improve this question
    
Can you mount from the command line? $ sshfs media@MYSERVERIP: /home/media If this does not work, can you at least stfp to your remote server? sftp media@MYSERVERIP Not all SSH servers support SFTP, so you may have to enable/install that. –  brain99 Aug 25 '12 at 7:33
    
1. post the sshd log on the server? 2. add the option sshfs_debug can help: sshfs -o sshfs_debug media@MYSERVERIP:/home/media /home/media. –  quanta Aug 25 '12 at 10:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.