I am a new Google Cloud user coming from the Amazon EC2 world, and I am completely puzzled by how I log in via ssh to a new instance of VM Engine Engine Engine.
I created a new instance through the Google Cloud web console (if that matters from the CentOS 6.x image). I saw a space in the creation form where I could insert the existing ssh key, but since this was my first instance, I did not have it yet. I assumed that this would lead me to a key creation process like Amazon EC2. This is not true. It seems he created an instance, but I cannot figure out how to get ssh keys for it. There is a button with the message “ssh” on the instance web page, and it allows me to log in through a pop-up web browser window that simulates an ssh session. However, it allows me to log in to the account at the user level, and not in the root folder. The popup menu had a menu item to change the user, and I changed it to root, after which it does nothing,except for connection errors, and now I can’t log into my instance at all.
I searched but cannot find direct documentation that explains this aspect of Google instances. I searched the web console, but I cannot find the mechanism for creating / selecting the ssh key and in no way create or load keys for the instance.
Do I need to manually create my own ssh keys at my end and paste them into the form during creation, or is there some other obvious step that I am missing?
source
share