ptitpat879 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

could you help me about google Compute Engine (root login ) #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
how can i root login 
I use command 
#gcloud auth login
#gcloud config set fonestock-gcp-1
#gcutil ssh debian01

What is the expected output? What do you see instead?

What is the output of 'gcloud info'?
CommandError: Logging into instances as root is not recommended. If you 
actually wish to log in as root, you must provide the --permit_roo              
                         t_ssh flag.

Please provide any additional information below.

thks 

Original issue reported on code.google.com by wilson65...@gmail.com on 31 Oct 2014 at 3:31

GoogleCodeExporter commented 9 years ago
Google Cloud SDK - Release Notes 0.9.34 (2014/10/14)

Original comment by fonestoc...@gmail.com on 31 Oct 2014 at 3:57

GoogleCodeExporter commented 9 years ago
What is the output of 'gcloud info'?
Google Cloud SDK 0.9.34

app-engine-python 1.9.13
app-engine-python-extras 1.9.6
bq 2.0.18
bq-nix 2.0.18
compute 2014.10.14
core 2014.10.20
core-nix 2014.10.20
dns 2014.09.02
gae-python 2014.05.06
gcutil 1.16.5
gcutil-nix 1.16.5
gsutil 4.6
gsutil-nix 4.6
preview 2014.10.20
sql 2014.09.30

Original comment by wilson65...@gmail.com on 31 Oct 2014 at 5:39

GoogleCodeExporter commented 9 years ago
Why do you need to do this from root? Doing anything other than system 
administration of the machine you're logged into while root is generally a bad 
idea.

That said, 'gcutil' is deprecated. Use 'gcloud compute' instead.

Original comment by jasm...@google.com on 31 Oct 2014 at 1:30