0

I have just created a new GCE VM Ubuntu instance using the most basic way it is possible, and I cannot login to it.

When I opened the interactive serial console -> Serial port 1 using the browser, I am not logged in and it prompts me for a login. Also it said "creating account exampleaccount" right before the login prompt - signs of hope :)

exampleaccount happens to be my name before the @ sign of my google account. When I attempted to login using exampleaccount I cannot, because I don't know the password, nor I remember setting it somewhere. Also I did try my google account's password, I did try blank. I did try inputting [email protected] as my username. Again no success.

I cannot login to the Linux VM I created. Please help howto.

2
  • 1
    You first have to ssh to it using your ssh key, then you can set a password if you wish. Nov 13, 2018 at 13:44
  • Yeah, logging with it works and then you can set password with sudo passwd
    – PatlaDJ
    Nov 13, 2018 at 16:26

1 Answer 1

1

You first have to SSH into the VM instance. Once you are connected to the VM instance via SSH, you can create user accounts with a user name and password. Once this is done, you will then be able to connect via the serial console port. Here is an article that provides to the steps you need to follow to connect to the serial port with login using a Linux image.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .