Questions tagged [google-cloud-shell]
23 questions
6
votes
3 answers
default ssh is not working from GCP Console and browser crashes or hang
After creating an instance in Google Cloud Platform(GCP), I was able to click on SSH and open the browser based SSH console to access the instance. (Auto key copying and connect from console itself without a local ssh client)
But I noticed this is…
Gineesh
- 181
2
votes
1 answer
Can I hook up my Google Compute Engine VM to Cloud Shell?
I am wondering if there is a way to hook up my Google Compute Engine VM to Cloud Shell. The purpose is so that I can edit files in my VM using Cloud Shell editor. Thanks.
Pelangi
- 23
2
votes
1 answer
Google cloud sdk error : token exchange failed
I am totally new to Google Cloud. I am trying to push a Docker image on Google Cloud Registry.
I have performed following steps :
Installed Google Cloud SDK.
Downloaded a JSON key file for my IM account
Set authentication using following…
Rushikesh Mandage
- 21
- 1
- 3
2
votes
1 answer
Connecting to VPC internal services from Google Cloud Shell
Is it possible to access services (like CloudSQL or some custom applications) that are running on internal IPs only (VPC) from cloud shell?
The idea behind it, I want to keep Cloud SQL on private IPs and use it from Cloud Run (works fine), but…
Igor Kopman
- 21
2
votes
0 answers
How to auto init direnv on Google Cloud Shell?
my .bashrc has these lines at the bottom:
if [ -f $HOME/tools/bashrc ]; then
source $HOME/tools/bashrc
fi
and $HOME/tools/bashrc has this code at the bottom:
eval "$(pyenv init -)"
pyenv virtualenvwrapper_lazy
eval "$(direnv hook…
Noel Pure
- 121
1
vote
2 answers
scp to google cloud-shell fails (ssh works)
I'm trying to use scp to copy a large file over to cloud shell.
Using the suggested command from this SO answer
gcloud alpha cloud-shell scp \
localhost:~/Sites/my-app/big_file cloudshell:~/big_file
But even though I can see it adding a key for…
ChrisJ
- 295
- 1
- 10
1
vote
0 answers
How do you open Google Cloud Shell on macOS Safari?
If you navigate to https://shell.cloud.google.com/?show=ide%2Cterminal page on macOS Safari, then you can't actually see the editor—fails with a We can't load the code editor here because third-party cookies are disabled. error message—see…
mbigras
- 357
1
vote
1 answer
kubectl not getting all pods
I am using Google Cloud Platform, and I have two different kubernetes clusters running on GKE. Now these clusters are zonal clusters, and are running on different zones. the issue is when I am using the cloud shell, kubectl get pods is getting pods…
jaafar Nasrallah
- 125
1
vote
3 answers
web servers attached on front end of HTTP(s) Load Balancer
I am very new to the google cloud platform. How do I make sure to attach webservers to the front end of a HTTP(s) load balancer, from the gcloud console?
When finishing a challenge qwiklab on the google cloud platform, I run into this problem - the…
Niccolo'
- 111
0
votes
1 answer
google-cloud-sdk - This account has no projects
When I accessed the project of a company that is a member from the Cloud SDK in the Gsuite account, it returned "This account has no projects." Logging in with the browser, I can log in to the company's project without problems.
How can we solve…
nat0806
- 1
0
votes
2 answers
Recover Google Cloud Shell Home Directory
My G Suite user which I log into GCP with has been renamed from firstname@domain.com to firstname.lastname@domain.com
I have now logged back into Cloud Shell and my home directory content is gone.
Is there any way of recovering this?
Thanks
Jacob Woffenden
- 1
- 1
0
votes
1 answer
How to get Google Cloud Shell within Firefox ESR 52.5.0 on CentOS6 to work reliably?
In a single browser window, Google Cloud Shell only lets me have one instance that is not corrupt. Screenshots explain. Is there something one can do using Firefox 57 Quantum on Windows 10 or Firefox ESR 52.5.0 on CentOS6 to have multiple google…
rjt
- 594
0
votes
0 answers
Google cloud shell not opening on google cloud platform
I am clicking on activate cloud shell and this is the problem I am facing this: Cloud Shell is experiencing some issues provisioning a VM to you. Please try again in a few minutes.
I tried with multiple devices and multiple chrome users. Also tried…
VTL dev
- 1
0
votes
0 answers
Can't ssh into cloud shell
I try to ssh from my local host to GCP cloud shell and get the error:
$ gcloud cloud-shell ssh --authorize-session
sign_and_send_pubkey: signing failed for RSA "/home/kossak/.ssh/google_compute_engine" from agent: agent refused…
Kossak
- 101
0
votes
0 answers
Why am I getting 'Unable to connect to the server: context deadline exceeded' error when creating GKE job?
am trying to create a GKE job by following the instructions in the official documentation.
I am doing it though via Cloud Shell. I have created the yaml file, however when I run the command:
kubectl apply -f config.yaml
I am getting the following…
2bon2b
- 1