`gcloud compute copy-files`: network error while copying files

When I try to copy a file from my local Windows machine to the google compute engine ( Rhel 6

) using the command gcloud

, I get a network error like below:

Fatal: Network error: Connection timed out
ERROR: (gcloud.compute.copy-files) [C:\Program Files\Google\Cloud SDK\google-clo
ud-sdk\bin\sdk\scp.EXE] exited with return code [1].

      

Here is the command that I used -

C:\Program Files\Google\Cloud SDK\java>gcloud compute copy-files --plain test.txt  [userid@DEST_instance:~/directory_name] --zone us-central1-f

      

Can anyone point out what is causing this error?

+3


source to share





All Articles