gana2188 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

ERROR: (gcloud.compute.copy-files) Your SSH key has not propagated to your instance yet. Try running this command again #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

$ gcloud compute copy-files ~/Downloads/test.rtf instance-1:seebe@/bin/local/ 
--zone "us-central1-a" --project "thermal-scene-750"

What is the expected output? What do you see instead?

silent or file copied successfully 

What is the output of 'gcloud info'?

WARNING: You do not have an SSH key for Google Compute Engine.
WARNING: [/usr/bin/ssh-keygen] will be executed to generate a key.
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/seebe/.ssh/google_compute_engine.
Your public key has been saved in /home/seebe/.ssh/google_compute_engine.pub.
The key fingerprint is:

pretty RSA picture.

Updated [https://www.googleapis.com/compute/v1/projects/thermal-scene-750].
Warning: Permanently added '146.148.86.237' (ECDSA) to the list of known hosts.
Enter passphrase for key '/home/seebe/.ssh/google_compute_engine': 
Enter passphrase for key '/home/seebe/.ssh/google_compute_engine': 
Enter passphrase for key '/home/seebe/.ssh/google_compute_engine': 
Permission denied (publickey).
ERROR: (gcloud.compute.copy-files) Your SSH key has not propagated to your 
instance yet. Try running this command again.

Enter passphrase for key '/home/seebe/.ssh/google_compute_engine': 
Enter passphrase for key '/home/seebe/.ssh/google_compute_engine': 
Enter passphrase for key '/home/seebe/.ssh/google_compute_engine': 

Please provide any additional information below.

gcloud compute command line will not allow me to enter pass phrase

Btw, gcloud compute copy feels raw and unforgiving, I have spent my entire 
sunday going around in circles going back to the beginning and starting over 
again just to copy a file from my local Mac to my Google compute instance. [my 
knowledge on unix command line is sparse, but I'm sure gcutil worked more 
solidly]    

Original issue reported on code.google.com by clive.bo...@gmail.com on 10 Nov 2014 at 1:08

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for your feedback. We are not able to reproduce this issue. Are you 
sure you entered the correct passphrase when prompted for it? Note that the 
passphrase should match the one you entered while creating the key.

Original comment by vil...@google.com on 25 Nov 2014 at 6:07

GoogleCodeExporter commented 9 years ago
Thanks. I will retry with correct pass phrase.

Original comment by clive.bo...@gmail.com on 28 Nov 2014 at 10:45