synology_root_login

Enable Synology Root Login

0
(0)

Experienced Linux experts like to use the SSH terminal under Synology DSMv6. Synology 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 system control panel is called up, Extended mode must be activated so that the required icon Terminal & SNMP appears.

Synolog DSM Control panel
Control panel

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

SSH-Service
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.

sudo_synouser

Configure the SSH service to enable root login.

sshd_config

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.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

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