synology root login aktivieren

Enable Synology Root Login

Synology from DSM Version 6 offers the possibility like for Linux experts to use the SSH terminal. NAS are mostly behind firewalls and cannot be reached from Internet side via SSH, login as a user with subsequent “sudo su root” is considered as an additional effort. However, there is the option of logging in as root, as shown below.

First, the DSM Control Panel is called up, Extended mode must be activated so that the required icon Terminal & SNMP appears.

Control panel

Under Terminal & SNMP the SSH-Service just can enable.

SSH-Service enabled

Now establish an SSH connection to the Synology Diskstation using PuTTY or KiTTY and log in as admin, then change the root password.

Instead of admin_password, enter the same admin password that is used when logging in to Synology DSM.

Configure the SSH service to enable root login.

Activate the option PermitRootLogin yes marked as a comment line by removing the # beforehand.

Now restart the DiskStation, or deactivate and reactivate the SSH service in the Control Panel, the change will take effect, now root@diskstation can log in directly to the Synology NAS.

If you want to log in as root with WinSCP, the transmission protocol SCP (not SFTP) must be selected.

Leave a Reply

Your email address will not be published. Required fields are marked *