How do I retrieve Google SDK passphrase

后端 未结 2 1641
情话喂你
情话喂你 2021-02-06 05:22

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\

2条回答
  •  星月不相逢
    2021-02-06 05:40

    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.

提交回复
热议问题