Need to upload file via gcloud to server from localmachine - INSUFFICIENT PERMISSIONS? -


i have tried looking answer problem on month. apparently 1 in world ever had issue... here's console commands giving on ssh. logged account permissions , has full permissions on project... stumped.

 sudo gcloud compute copy-files /home/lestado/trs.key adminuser@the-real-strategy-vm:/etc/ssl/private/ 

this response getting:

 did mean zone [us-central1-f] instances:   [['[the-real-strategy-vm]']]?  want continue (y/n)?  y  error: (gcloud.compute.copy-files) not fetch instance:  - insufficient permission 

set project name before start copying files.

gcloud config set project <project_name> 

complete process be:

  • login: gcloud init
  • set project: gcloud config set project <project_name>
  • upload using root user instance: gcloud compute copy-files ./ root@instance:/etc/ssl/pvt

Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -