0

redhat 6.3允许sshd的使用key登录

Posted in Linux at 十月 27th, 2012 / No Comments »

修改以下4行,重启sshd即可: HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key RSAAuthentication yes PubkeyAuthentication yes 特别注意前两行容易忘记 某些情况下会报错: Agent admitt...