Synology SSH Root password does not work

15,565

Solution 1

So I found this webpage for one of the DSM6 Changelogs that says:

Root account is replaced by administrators group credentials to log into SSH to enhance security.

To reset my root password, I just had to run:

synouser --setpw root [PASSWORD]

and this fixed my problem.

Solution 2

An updated, easier approach from Synology's DSM help

SSH/Telnet only supports logging into the system with accounts belonging to the administrators group. To switch to a root account, please log into the system with SSH/Telnet as a user belonging to the administrators group, run the command sudo -i, and then enter the password of the account used to log in.

Solution 3

Yes, this worked for me but only after I used PuTTY to login as admin and then access sudo by typing in PuTTY the command sudo ls, enter your admin password again when asked, and the issuing the command below.

sudo synouser -–setpw root [PASSWORD]

where [PASSWORD] MUST be the same as your admin password.

Now you can use WinSCP like you did before (DSM 5)

Share:
15,565

Related videos on Youtube

Bijan
Author by

Bijan

Hi!

Updated on September 18, 2022

Comments

  • Bijan
    Bijan over 1 year

    Last night my Synology upgraded to a new version and now my Root password when logging in to SSH no longer works. I have already tested and I can login to other SSH accounts and I can also login to the Synology Admin Page (using same password that I am using for root).

    Is there any reason why this would be?