Enabling SSH access to your Synology

Enabling SSH access before making changes to your Synology’s network settings is an excellent security measure.
It provides a backup way to access your NAS in case you accidentally lock yourself out.

Here’s how to enable SSH on your Synology NAS:

Steps:

  1. Access DSM: Log in to your Synology’s DiskStation Manager (DSM) as an administrator.

  2. Go to Terminal & SNMP: Open the Control Panel and navigate to Terminal & SNMP > Terminal.

  3. Enable SSH Service: Check the box that says Enable SSH service.

  4. Change SSH Port (Optional): For enhanced security, consider changing the default SSH port (22) to a higher number (e.g., a port between 1024 and 65535).

  5. Apply Changes: Click Apply to save your changes.

Important Considerations:

  • Security: While SSH provides secure access, it’s essential to use strong passwords and keep your DSM software updated to minimize any potential risks.
  • Firewall: If you have a firewall enabled on your Synology NAS, ensure that it allows SSH traffic on the port you’ve specified.
  • Accessing via SSH: You’ll need an SSH client on your computer to connect to your Synology NAS. Popular options include PuTTY (Windows), Terminal (macOS), and various terminal applications on Linux.

By enabling SSH before making changes to your network settings, you’ll have a secure way to access your Synology NAS if you encounter any issues. This is a crucial step to prevent accidental lockouts and ensure you maintain control over your device.