首页 > 其他 > 详细

oepnssh 无密码连接

时间:2018-08-22 13:12:30      阅读:174      评论:0      收藏:0      [点我收藏+]
ubuntu

  1. . sudo apt-get install openssh-server
  2. sudo gedit /etc/ssh/sshd_config modify as follow PermitEmptyPasswords yes
  3. sudo sed -i ‘s/nullok_secure/nullok/‘ /etc/pam.d/common-auth
  4. sudo service ssh restart

One more thing that I need to remind is that you have to create a user without password
you can use this command to delete the password of a account to make it empty
sudo adduser xxxx
sudo passwd -d xxxx

oepnssh 无密码连接

原文:http://blog.51cto.com/wb127/2162791

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!