Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google cloud instance root login

I tried all the methods that is needed to add root login without SSH keys but it was not successful. I configured sshd_config permitting root login and authorization of password. i cannot login with username and password. Appreciate your support on this.

I would like to connect GCP VMs using Putty without any SSH keys,using username and password.

 

Solved Solved
2 5 1,353
1 ACCEPTED SOLUTION

Have you checked the folder as I previously suggested? Also just to be sure, you did a reload/restart to sshd service right? & password configuration via sudo passwd root?

DamianS suggestion is great, you need to debug the client SSH connection while trying to connect to the server. You can also do it from the inside of VM Terminal using ssh root@localhost -vvv

View solution in original post