On Tue, 19 Feb 2013 17:37:25 +0800, 杜宏羽 wrote:
RT 我已经经历了申请帐号,上传ssh的密钥这2个过程,但是在接下来,“ssh -i ~/.ssh/id_rsa myname@fedorapeople.org”却一直提示Permission denied (publickey).
下面的第2条满足么?
(1) You need an active Fedora account (2) You must be sponsored in a group (other than the CLA groups) (3) You need to generate a ssh key (ssh-keygen -t rsa).
link: https://fedoraproject.org/wiki/Infrastructure/fedorapeople.org
我也google了,有的说需要修改ssh的配置,有的说要把id_rsa.pub删除,我都照着做了,但是还是不行!
都不需要,只需确保 -i 选项指定的私钥对应于上传的公钥即可。(id_rsa 对应 id_rsa.pub)