1 login in VM
login in the console and then change the configuration
sudo -i vim /etc/ssh/sshd_config
change the following lines
PermitRootLogin yes PasswordAuthentication yes
reboot and then change you password
passwd # if you want change other user's password passwd username
标签:use,google,passwd,server,yes,password,change From: https://www.cnblogs.com/ldzbky/p/17840802.html