How to enable terminal access to Synology NAS

Written by Ingmar Verheij on April 21st, 2012. Posted in Synology

For certain (more complex) tasks you might need terminal access to your Synology NAS. Enabling terminal access to your Synology NAS is done quite easily.

You can enable both Telnet (non encrypted – insecure) or SSH (encrypted – more secure) access.

Enabling the services

Terminal access is enabled by enabling the Telnet or the SSH service via the Control panel. This is done in four easy steps:

  1. Open the Control Panel
  2. Open the Terminal applet (under Network Services)
  3. Enable the Telnet and/or SSH service
  4. Apply the settings

You can access the Synology NAS via a Telnet/SSH client like PuTTY (link).

Enable remote access

If you want to access the Synology NAS from outside your network you need to setup port forwarding on your router. If your router is supported (see Synology WIki) you can configure the port forwarding and firewall configuration from the admin webpage.

  1. Open the Control Panel
  2. Open the Router Configuration applet (under Network Services)
  3. Click Create
  4. Select “Built-in application”
  5. Enable ‘"Encrypted terminal service (Includes encrypted Network Backup)
  6. Save the configuration



Shell In A Box

Another great way of accessing a shell is via Shell In A Box. Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator.

Missile Hugger created a package for both ARM and x86 processors, you can find the package here.

Ingmar Verheij

At the time Ingmar wrote this article he worked for PepperByte as a Senior Consultant (up to May 2014). His work consisted of designing, migrating and troubleshooting Microsoft and Citrix infrastructures. He was working with technologies like Microsoft RDS, user environment management and (performance) monitoring. Ingmar is User Group leader of the Dutch Citrix User Group (DuCUG). RES Software named Ingmar RES Software Valued Professional in 2014.

More Posts - Website

Follow Me:
TwitterLinkedInGoogle Plus

Tags: , , , , ,

Comments (2)

  • AnthonGerb
    2 March 2015 at 23:53 | is stop updating and the server is down from january 2015 🙁

  • Victor
    11 April 2016 at 12:42 |

    Hey mate,
    Have a look at xpenology (a synology hack). I built my own Synology 3 years ago. Rock solid, but lacking some non-critical features.


Leave a comment



%d bloggers like this: