在 Centos下试图使用 publickey 验证登陆 SSH 无效


本地已经生成好一对密钥,公钥已经加入 authorized_keys,权限 644 和 600 都尝试过。
重启了 sshd 服务,检查了 sshd_config 中的相关配置。
但是使用 ssh git@123.45.123.45 命令登录时依然是提示输入密码?

实在不知道是怎么回事,请各位帮忙找找原因,拜谢。

ssh git

whymt 12 years, 8 months ago

上传公钥以后你需要锁定你的帐号
http://www.debian-administration.org/...

xpy618 answered 12 years, 8 months ago

Your Answer