`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
google-cloud-platform


source to share


No one has answered this question yet

Check out similar questions:

ten
Copy files between two Google Cloud instances
3
How to transfer file from Google Cloud Storage to Compute Engine instance using gcloud terminal?
2
Create a route between two networks in Google Cloud Compute Engine
2
Can't access vm using GCloud Compute
2
Getting the error "Nested call gcloud failed" when trying to create datalab in gcloud
1
How do I log out of the current user using the Google Cloud SDK Shell?
1
Google compute engine gcloud compute copy files: failed to get instance
0
SSH tunnel for google cloud VM from windows and putty: network error: connection timed out
0
Google Cloud - Server refused to sign the public key despite accepting the key
0
PHP runtime issue with "gcloud preview app" on Linux



All Articles
Loading...
X
Show
Funny
Dev
Pics