Skip to content

Synology Telnet password

If you ever had a problem with your Synology DiskStation, you might have stumbled upon the emergency telnet access or even the serial port on the PCB.

Or maybe you just wanted to set it (or XPEnology) up and needed the root password to configure a static IP in order to access the web based setup.

But what is the password?

Luckily, Gui Ambros took a look at the GPL'ed source code and made a small C snippet to generate that password.

It is based on the current day and month.

The structure is like this:

  1. Current month in hexadecimal, lower case (Jan:1, Feb:2, … , Oct:a, Nov:b, Dec:c)
  2. Current month in decimal, 2 characters, zero padded (01, 02, …, 11, 12)
  3. Minus (-)
  4. Current day of the month in hex, 2 characters, zero padded, lower case (01, 02, …, 10:0a, …, 30:1e, 31:1f)
  5. Greatest common divisor between month and day, 2 characters, zero padded (01, …, 12)

Here is a small Python snippet to calculate today's password:

from datetime import date
import fractions

today =
m = today.month
d =

print("%x%02d-%02x%02d" % (m, m, d, fractions.gcd(d, m)))

And if you look at the source code of this page, you'll find the JavaScript which calculates the code displayed above.

If the generated password doesn't work, also try 101-0101. After a bootup, the time might be reset to 1 January 1970.

By the way: This password doesn't work for SSH after you've setup your Synology. After the setup, the root password is that of your admin user.


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Markdown format allowed
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

Form options