I created a google compute engine VM instance from a snapshot but I could not SSH into the instance. Got a message below saying
We are unable to connect to the VM on port 22
Upon looking at the serial console logs, it seems stuck at login for localhost:
Debian GNU/Linux 8 localhost ttyS0
localhost login:
useradd --groups google_sudoers tempuserand at the next lineecho "tempuser:password" | chpasswd, and then start your VM. Here you can find an example. - Serhii Rohoza