Não consigo acessar minha instancia via terminal

36 views
Skip to first unread message

Claudio Macena

unread,
Oct 25, 2019, 11:44:21 AM10/25/19
to Google App Engine
Bom dia,
Já tentei varias ações, não consigo acessar minha instância via terminal.
Server refused our key
A chave já esta na instância, a chave foi gerada via ssh da janela do ssh da instância.
Este IAM é complicado muita informação na documentação, parece que não leva a lugar algum.

Aguém pode ajudar?

Jose Antonio Soni Solchaga

unread,
Oct 28, 2019, 10:05:35 AM10/28/19
to Google App Engine
I understand your issue is:

I can not access my instance via terminal.
Server refused our key
The key is already in the instance, the key was generated via ssh from the instance ssh window.
This IAM is complicated a lot of information in the documentation, it seems that leads nowhere.

If you have a different concern, please restate your message in English and
provide additional details for us to address your request correctly.

To connect to an App engine flex by terminal you can do it with the gcloud with the following command:

gcloud beta app instances --project [PROJECT-ID] ssh [INSTANCE-NAME] --service [SERVICE] --version [VERSION]

I hope this can work for you, and I leave the documentation[1] where it is better explained. This way you don't need the key to communicate to your instance as the gcloud command will manage the authentication. 

Reply all
Reply to author
Forward
0 new messages