我试图在没有密码(公钥认证)的情况下以非 root 身份通过 ssh 进入我的 Synology 磁盘站。
当我尝试在没有密码的情况下以 root 身份 ssh 时,它可以工作。对另一个用户执行完全相同的步骤不起作用。它总是要求输入密码(同样,使用密码也可以)。
为此,我遵循了所有指南,但我认为它们都适用于 DSM 4.x 而不是新的 5.0 版本。
这是我尝试使用 -vvv 标志时的调试日志:
aether@aether-desktop:~$ ssh -vvv aether@aether-ds.local
OpenSSH_6.2p2 Ubuntu-6ubuntu0.2, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to aether-ds.local [192.168.2.149] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/aether/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/aether/.ssh/id_rsa type …Run Code Online (Sandbox Code Playgroud)