Upon completion of this course you should be able to:
Course Prerequisites:
None
Students are expected to have a working knowledge of:
SSH
1. Introducing SSH Keys
2. Adding an SSH key to your ASUSTOR NAS
3. Using an SSH key to sign in to an ASUSTOR NAS
Logging into an ASUSTOR NAS using SSH means you can exercise full control over your NAS and operate more advanced functions. Enabling SSH keys can improve the security of using SSH while also making it more convenient. SSH keys replace passwords and are much more secure than passwords. Generate different keys for different administrator accounts and save the private keys in an SSH client while disable password authentication, greatly improving the security of SSH connections.
Introduced in ADM 5.0.
To login SSH with private keys, you MUST enable SSH service.
When enabling SSH, it is recommended to avoid using the default port.
Note:
Disabling password authentication will not allow the user to login SSH with password anymore, including encrypted transmission via SSH in Remote Sync.
Different client software may require different SSH key formats. There are 4 types of SSH private key formats downloaded from an ASUSTOR NAS: These are in the file formats of .ppk, .pem .key or the file name starts with the prefix of id_.
Please copy the required private key file to the appropriate folder to save and use it.
The SSH private key file permissions used in macOS only allow the owner to access it, so please be sure the permissions of the file are correct.
chmod 0600 ~/.ssh/AS67_Key/as67-ssh-key-testadmin-2025031201.key
ssh -i ~/.ssh/AS67_Key/as67-ssh-key-testadmin-2025031201.key testadmin@172.16.1.47 -p 8322
The SSH private key file permissions used in Linux only allow the owner to access it, so please be sure the permissions of the file are correct.
chmod 0600 ~/.ssh/id_as67-ssh-key-testadmin-2025031201
ssh -i ~/.ssh/id_as67-ssh-key-testadmin-2025031201 testadmin@172.16.1.47 -p 8322
Host as6706ssh
HostName 172.16.1.47Port 8322User testadminIdentityFile ~/.ssh/AS67_Key/as67-ssh-key-testadmin-2025031201.key
ssh as6706ssh