This article introduces a method for using SSH to remotely login to QNAP for management purpose.

connect to qnap via ssh

Step #1: Select Control Panel from the home page

Step #2: Selete general settings from system tab

Step #3: Turn on SSH in Network & File -> Telnet/SSH

Check allow SSH connection. Note: If you want to enable public network access, change the default port number of SSH.

Step #4: Login to qnap now

$ ssh -p 22520 username@my.qnap.nas.ip
$ cat /etc/os-release
NAME="QTS"
VERSION="5.0.0 (20220324)"
ID=qts
PRETTY_NAME="QTS 5.0.0 (20220324)"
VERSION_ID="5.0.0"