I’m not unix guru, but I enjoy CLI rather than go though the admin console to perform some changes to the system. (Rememer the life using DOS 3.0!!)
I always need to SSH to the DiskStation and it would be too trouble typing the lenghty and weird password for every login. This article contains all neccessary steps to setup your SSH server and putty for automatically login without prompt for password (except you setup passphrase to protect your private key). We will using secret/public key pairs to perform the authentication.
I. Setup SSH
All recent firmware already come with SSH server. Just enable it using the admin console.
In order to allow ONLY key authorization and disable password login, edit the SSH server configuration as below:
# vi /etc/ssh/sshd_config
Protocol 2 PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication no
Restart SSH Server