Search code examples
sshgoogle-compute-enginefilezilla

Google Compute Engine: Adding SSH but can't connect like in their video


OK I need help.

I have created a simple instance with Google Compute Engine, and I have added SSH keys through their META DATA section. But every time I try to log in with Putty (I can do it with their console) I get Permission denied (publickey)

Even when I log in with their browser console , I can see all the users I created with WEB UI, and public keys in authorized_keys

However I can't SSH even though my private keys are in my .ssh

I did all the checked and my ssh is enabled by default http://screencast.com/t/zI9vDr2s


Solution

  • The thing was that I was accessing the site via IP, since for me the site's DNS wasn't propagated at the moment. nevertheless I tried placing domain name instead of IP and it worked. Weird because I still can't access the site via domain ... and my neighbor can.