oepnssh 无密码连接
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oepnssh 无密码连接相关的知识,希望对你有一定的参考价值。
ubuntu
- . sudo apt-get install openssh-server
- sudo gedit /etc/ssh/sshd_config modify as follow PermitEmptyPasswords yes
- sudo sed -i ‘s/nullok_secure/nullok/‘ /etc/pam.d/common-auth
- 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 无密码连接的主要内容,如果未能解决你的问题,请参考以下文章