Gain SSH access to Synology NAS

Step 1: Allow SSH access

  1. Access Synology DSM
  2. Control Panel > Terminal & SNMP > Enable SSH service
  3. Take note of the SSH port (default: 6589)
  4. Press Apply

Now the NAS is ready to be accessed via SSH. To do this it is necessary to use a free software called PuTTY.

Step 2: Install and configure PuTTY

  1. Download PuTTY from here

  2. Populate the settings:

    Host Name: use the IP address of your NAS (192.xxx.x.xxx)
    Port: change 22 to the one configured in the previous step (default: 6589)
    Connection Type: SSH
    Close Window on Exit: Never

  3. Add a Session Name and Save it

  4. Click on Open

A window should now open, allowing you access to the NAS via SSH.

From this moment on you might want to gain root access to your Synology NAS.