How do I access my QNAP NAS using SSH?


Last modified date: 2024-10-14

Applicable Products

All NAS series


1. Enable SSH on your NAS

You can enable SSH on your NAS using one of the following methods:

Using Qfinder Pro
  1. Download and install Qfinder Pro on your PC.
  2. Open Qfinder Pro.
    Qfinder Pro automatically searches and displays all QNAP devices on the same network.
  3. Locate your NAS on the list.
    Tip
    Make sure that your NAS is on the same network as your computer.
  4. Click on your NAS.
  5. Go to Settings > Connect via SSH.
    The Login window appears.
  6. Login in to your NAS with an administrator account. If the default administrator account "admin" is enabled, you can log in with this account. For details, see What is the default system administrator password for my NAS?
    The Connect via SSH window appears.
  7. Enable Allow SSH connections.
    Tip
    If SSH is already enabled then Allow SSH Connections will already be enabled and the Apply button will be disabled.
  8. Click Apply.
    SSH is enabled on your NAS.
Using the QTS web interface (web browser)
  1. Login in to your NAS with an administrator account. If the default administrator account "admin" is enabled, you can log in with this account. For details, see What is the default system administrator password for my NAS?
  2. Open Control Panel.
  3. Go to Network & File Services > Telnet/SSH.
  4. Enable Allow SSH connection.
  5. Click Apply.
    SSH is enabled on your NAS.

2. Access your NAS with SSH

Access your NAS depending on your computer's operating system:

Access your NAS with SSH (Windows)
  1. Download and install PuTTy.
  2. Open PuTTy.
  3. Configure a SSH connection with the following PuTTy settings:
    1. Host Name (or IP address): Your NAS IP address
    2. Connection type: SSH
  4. Click Open.
  5. Click Yes on any confirmation windows that appear.

    A login window appears.
  6. Enter your NAS user credentials to log in to the NAS.


    Tip
    If you do not have sufficient administrator permission, run the command "sudo -i" first before the above command.
    The Console Management window appears.

  7. Enter Q.
  8. Enter Y.
    PuTTy establishes an SSH connection to your NAS.
Access your NAS with SSH (macOS)
  1. Open Finder.
  2. In the menu bar, go to Go > Utility.
  3. Open Terminal.
    The macOS terminal window appears.
  4. Enter the following command where "username" is your username and "YOUR_NAS_IP_ADDRESS" is your NAS IP address (for example: admin@10.32.72.68):
    ssh username@YOUR_NAS_IP_ADDRESS
    Tip
    If you do not have sufficient administrator permission, run the command "sudo -i" first before the above command.
  5. If this is the first time you’ve accessed your NAS with SSH you will receive an authenticity warning. Enter yes.

  6. Enter your NAS account password.
    The Console Management window appears.

  7. Enter Q.
  8. Enter Y.
    Terminal establishes an SSH connection to your NAS.

Further Reading

What is the default system administrator password for my NAS?

How do I reset the administrator password of my NAS?


Was this article helpful?

46% of people think it helps.
Thank you for your feedback.

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Choose specification

      Show more Less

      Choose Your Country or Region

      back to top