How to enable terminal access to Synology NAS

Author: Ingmar Verheij

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.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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