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
Post a Comment