It is possible to connect to Google linux VM using public and private key - however, is it possible to connect to the VM using username and password only. There is such a solution for linux VM on azure platform - is there anything similar on google cloud platform. Thanks.


I'm not familiar with the Google cloud, but if you have root access you can do anything you like.. It is simply to configure the ssh daemon to your wishes...


TL;DR Edit /etc/ssh/sshd_config so it contains PasswordAuthentication yes and restart the ssh daemon.

The question is rather should you allow username and passwords? It is much more insecure.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.