vi /etc/ssh/sshd_config
PermitRootLogin
这行改为
PermitRootLogin yes
PasswordAuthentication no
上面的no改为yes
UsePAM yes
上面的yes改为no
转载于:https://www.cnblogs.com/Peter-Bin/p/6717560.html
vi /etc/ssh/sshd_config
PermitRootLogin
这行改为
PermitRootLogin yes
PasswordAuthentication no
上面的no改为yes
UsePAM yes
上面的yes改为no
转载于:https://www.cnblogs.com/Peter-Bin/p/6717560.html