Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ssh to my compute engine machine

Two days ago I've created a compute engine instance and connected to it with ssh, everything was fine, after testing different things i've deleted the machine and disk. Today I've created a new instance in compute engine, getinstance as well as the console show the instance running.

But when trying to connect to the instance I'm getting a messegebox asking for: enter your password for the ssh key "google compute engine"

the password i'm entering is getting denied

how can I change the password for this project? this user?

like image 330
liv a Avatar asked Nov 15 '13 05:11

liv a


People also ask

Can you SSH into App Engine?

App Engine Standard is a framework for running your code somewhat like a library. There is no OS for you to SSH into. App Engine Flexible runs your code as a container, so you can SSH into your instance.

How to SSH into your gce machine without a public ip?

To connect to an instance without an external IP address, use the gcloud compute ssh command with the --internal-ip flag. In the Google Cloud console, go to the VM Instances page and find the internal IP address for the instance that you want to connect to.

How do I access compute engine?

Go to the top left corner of your Google Cloud home page, click on the triple bar icon ≡ and select Compute Engine ->VM instance and click Create.


Video Answer


1 Answers

This is how I resolved the issue:

  1. turn hidden files on on finder (by running: defaults write com.apple.Finder AppleShowAllFiles TRUE)
  2. going to $HOME/.ssh directory and delete the files google_compute_engine, google_compute_engine.pub
  3. call gcutil ssh again which created new files with new passphrase
  4. when prompted again enter the passphrase and connection established :)
like image 149
liv a Avatar answered Oct 08 '22 22:10

liv a