二、将公钥文件附加至root用户目录下.ssh目录下authorized_keys2。
三、修改/etc/ssh/sshd_config文件,PermitRootLogin,RSAAuthentication,PubkeyAuthentication,AuthorizedKeysFile设置为authorized_keys2。
四、service sshd restart。
五、FileZilla验证时类型为密钥文件,用户为root,就可以正常登录。
原文:http://blog.51cto.com/353244/2341696