Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I retrieve Google SDK passphrase

Following this post, I'm trying to transfer code from my local machine to the compute engine but I forgot my passphrase.

Can someone tell me how to retrieve it.
I've searched around for solutions but found nothing.

like image 385
iKey Avatar asked Jan 11 '16 10:01

iKey


People also ask

How do I recover my SSH key passphrase?

If you lose your SSH key passphrase, there's no way to recover it. You'll need to generate a brand new SSH keypair or switch to HTTPS cloning so you can use your GitHub password instead. If you lose your SSH key passphrase, there's no way to recover it.

How to recover deleted sync passphrase from Google Chrome?

Now, all you need to do is to sign back into Chrome on all devices. Since the sync passphrase is removed, all your browsing data should then be re-uploaded to the Google servers, merged automatically, and be readily available on your devices. If you want to apply a sync passphrase again, you have to set one up manually.

How do I reset the sync passphrase on my Device?

Step 1: Open the Chrome menu, and then click Settings. Step 2: Under the People section, click Sync. Step 3: Under Advanced Sync Settings, click Reset Sync. Note: If the device has a sync passphrase successfully in place, the Reset Sync option appears at the bottom of the page.

Can I remove the passphrase from my browser history?

If you don't have any device with a local copy of your browsing data, you can still remove the passphrase, but you won’t get whatever data that's stored online. For example, if you are signing into Chrome on a completely new device and don’t have any other devices with Chrome, you are out of luck.


2 Answers

Remove your old keys and try again, that is

rm ~/.ssh/google_compute_engine*

and then

gcloud compute ssh my_vm_name --zone zone_vm_is_in
like image 98
cherba Avatar answered Oct 12 '22 12:10

cherba


this below works as stated by @cherba

rm ~/.ssh/google_compute_engine* 

after using this command you can then reset the password to the ssh passphrase or you can simply hit enter to leave no password. i am supplying this answer because if you use the command and then attempt to ssh into an instance it takes a few seconds for the keys to propagate. i wanted to add this as a comment but didn't have enough reputation points on stack overflow.

ssh config

like image 42
IOT internet of things Avatar answered Oct 12 '22 12:10

IOT internet of things