Skip to content

Instantly share code, notes, and snippets.

@papagunit
Created April 13, 2016 17:04
Show Gist options
  • Save papagunit/bcf59fc61adf7fe8586ca581b5e20ceb to your computer and use it in GitHub Desktop.
Save papagunit/bcf59fc61adf7fe8586ca581b5e20ceb to your computer and use it in GitHub Desktop.
ERROR: (gcloud.compute.config-ssh) Could not fetch project resource: - Insufficient Permission
dguerrero@LT-SLO-DGUERRER ~/google-cloud-sdk/bdutil-1.3.5
$ ./bdutil shell
Wed, Apr 13, 2016 09:51:02: Using local tmp dir for staging files: /tmp/bdutil-20160413-095102-y6X
Wed, Apr 13, 2016 09:51:02: Using custom environment-variable file(s): bdutil_env.sh
Wed, Apr 13, 2016 09:51:03: Reading environment-variable file: ./bdutil_env.sh
Wed, Apr 13, 2016 09:51:03: No explicit GCE_MASTER_MACHINE_TYPE provided; defaulting to value of GCE_MACHINE_TYPE: n1-standard-4
Wed, Apr 13, 2016 09:51:03: Running gcloud --project=hwxex-1276 --quiet --verbosity=info compute ssh hadoop-m --command= --ssh-flag=-oServerAliveInterval=60 --ssh-flag=-oServerAliveCountMax=3 --ssh-flag=-oConnectTimeout=30 --zone=us-central1-f
Warning: Permanently added '104.197.193.135' (RSA) to the list of known hosts.
[dguerrero@hadoop-m ~]$ gcloud compute config-ssh
WARNING: The private SSH key file for Google Compute Engine does not exist.
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/dguerrero/.ssh/google_compute_engine.
Your public key has been saved in /home/dguerrero/.ssh/google_compute_engine.pub.
The key fingerprint is:
e2:50:a0:d6:05:3c:2c:90:97:fc:f8:7a:76:a1:e5:61 dguerrero@hadoop-m
The key's randomart image is:
+--[ RSA 2048]----+
|.+ +o.. |
|. =o+o |
| .o+... |
| .. .. |
| .. . S |
| .oE. |
| . =.o |
| . + o |
| o . |
+-----------------+
ERROR: (gcloud.compute.config-ssh) Could not fetch project resource:
- Insufficient Permission
[dguerrero@hadoop-m ~]$ gcloud compute config-ssh
ERROR: (gcloud.compute.config-ssh) Could not fetch project resource:
- Insufficient Permission
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment