Open SSH window in GCP VM Control Panel and type the following commands
sudo su root
cd
change the root password, use a strong password generator.
passwd root
add root login config changes to ssh config
nano /etc/ssh/sshd_config
change “PermitRootLogin” to “yes”
change “PasswordAuthentication” to “yes”, then save and close
restart SSHD
service sshd restart