use google server

发布时间 2023-11-18 17:34:11作者: Daze_Lu

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