linux服务器设置密码登陆
vim /etc/ssh/sshd_config
PermitRootLogin prohibit-password注释掉
增加 PermitRootLogin yes
PermitEmptyPasswords no
PasswordAuthentication yes
service ssh restart
passwd
vim /etc/ssh/sshd_config
PermitRootLogin prohibit-password注释掉
增加 PermitRootLogin yes
PermitEmptyPasswords no
PasswordAuthentication yes
service ssh restart
passwd