ssh root@ip 时返回 Permission denied (publickey).
是不是服务器禁用了密码登录?
但是我检查 sshd_config 没有发现相应配置
#PermitRootLogin prohibit-password
PermitRootLogin yes
#PubkeyAuthentication yes
#PasswordAuthentication yes
#PermitEmptyPasswords no
ssh root@ip 时返回 Permission denied (publickey).
是不是服务器禁用了密码登录?
但是我检查 sshd_config 没有发现相应配置
#PermitRootLogin prohibit-password
PermitRootLogin yes
#PubkeyAuthentication yes
#PasswordAuthentication yes
#PermitEmptyPasswords no