Enable sFTP on Synology DS409slim

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.

Install FreeBSD from remote SSH session

I’m actually playing with a FreeBSD virtual instance on ESXi. I’m accessing the console from VMware vSphere client, running in a remote Windows XP instance that I access using TSE from my MacBook… A nice feature I saw on Debian is SSH remote installation.

Here’s how to install FreeBSD using a remote SSH connection.
Continue reading “Install FreeBSD from remote SSH session”