Enable sFTP on Synology DS409slim
125 words, 1 minutes
Synology is kind enough to allow remote SSH connection to their NAS. I have enabled it on my DS409slim. But there is just one little missing feature: sFTP ; that is transfer file via SSH.
To enable sFTP with DSM 4.0, log on the Synology using SSH, manually enable the sftp subsystem and restart the SSH dæmon:
# vi /etc/ssh/sshd_config
(...)
Subsystem sftp internal-sftp -f DAEMON -l VERBOSE
(...)
# /usr/syno/etc/rc.d/S95sshd.sh restart
Stop SSH...
Connection to syno closed by remote host.
Unfortunately, that last command never restarted the SSH daemon… Just log on the Web interface, browse to the configuration panel and, from the “Terminal” section, select “Enable the SSH service”. This will restart the SSH dæmon and give you access to sFTP transfer too.