Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I created a key pair to connect to a Synology disk from 12.04. Deployed, edit ~/.ssh/config to automatically use it. Tested:

ssh user@remotesynology

-> works like a charm. Tested on a second remote machine (running Ubuntu server) -> works.

Now tested:

sshfs user@theubuntuserver: /home/user/ubuntuserver

-> works

Finally:

sshfs user@remotesynology: /home/user/remotesynology

-> error:

read: Connection reset by peer

I had a look at this issue, but that doesn't seem to apply (I have the user in the fuse group, and it works for the other machine) and I don't get a permission denied error.

What do I miss?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

A sftp server needs to be installed manually.

Method one described here worked for me:

http://www.mmncs.com/2011/07/setup-openssh-sftp-server-on-synology-nas-and-connect-using-sshfs-from-your-linux-ubuntu-web-server/

After it's done you also need to restart the sshd service on the NAS. I did that by disabling/re-enabling ssh under "Terminal" on the Control Panel.

share|improve this answer
    
I don't think he's using SFTP; you should only need an SSH daemon for this. –  khamer May 25 '12 at 12:50
1  
SSH doesn't have a file system mode, so I suspect that SSHFS actually does use FTP. And AFAIK SFPT is FTP through SSH. –  stwissel May 25 '12 at 15:22
    
Worked like a charm! Thx –  stwissel May 25 '12 at 16:45

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.