红联Linux门户
Linux帮助

Linux无密码认证

发布时间:2007-12-05 21:14:01来源:红联作者:Diary
  cd ~
??cd .ssh
??ssh-keygen -t dsa -b 2048 -f identity
??cat identity.pub >> authorized_keys
??chmod +600 identity authorized_keys identity.pub
??scp ./authorized_keys lili@192.168.100.5:~/.ssh/
??确认/etc/ssh/sshd_config文件中的RSAAuthentication参数值修改为yes
文章评论

共有 0 条评论