I am new to Google Cloud, but I have followed all the steps below by looking at some documentations and forums. Not sure if I am missing anything with the configuration or what. Any help would be appreciated
- Created Instance on Google Cloud
- Downloaded PuttyGen and generated key
- Updated key on instance as well as Project metadata as well
- Trying to connect from Putty I am getting following error
Not sure what is happening. I have tried all help from other posts from stackoverflow and google groups as well. But nothing seems to change for me. It could be simple that I am not looking at?
I've tried to follow your steps and found no issues.
Please have a look at the commands below:
create test VM instance;
download PuTTY and PuTTYgen ;
follow the documentation and generate SSH keys:
follow the documentation Adding or removing project-wide public SSH keys to add public key project wide at the Metadata page:
or follow documentation Adding or removing instance-level public SSH keys to do it at the instance level:
add private key to PuTTY and connect to VM instance using username you use at the Key comment section while generating the key, I was able to reproduce your error by using any other username at this step.
In addition, have a look at the OS Login feature: