Allow root user to connect to build-in sftp on a synology

Since DSM 4.1, support for sftp has been added natively in DSM.
To activate the service, go in Control Panel > FTP.

By default, you do NOT have an access to sftp with the root account.
You can allow the the root user to connect through sftp by editing the file /etc/ftpusers and commenting out the line beginning with root :
#root
lp
smmsp
nobody
guest
Sadly, you will get only access to the home folder of root, and nothing else.

You can obtain a wider access to your system using the account admin but you can only browse shared folders.

 #1

Comments

Popular posts from this blog

Resolve "Cannot download packages whilst offline" issue in Deja-Dup backup software

ubuntu 20.04 / netplan / change mac address and static ip

wireshark ssh remote connect on linux server