Cannot connect to vm via ssh

44 views
Skip to first unread message

Mohamed Mustapha K

unread,
Jul 22, 2019, 11:26:31 AM7/22/19
to Google App Engine
Hi!

Let me share my problem.

Before, the connection to my debian 9 instance via ssh was Ok; now it does not connect to the Vm.

I tried different forums in vain.
I remarked that the ssh keys were expired
I tried to regenerate the keys via puttygen
Also the gcloud : gcloud compute config-ssh and the generate keys are per default expired 
I connected via serial port, however it i very unconfortable, and many line commands that I would install doesn't work : like installing ftp to restore my files
I tried to add another vm instance and connecting the existing disk, and this wasn't the solution

Could you please help me to resolve this issue

THank you in advance


Mohamed Mustapha K

unread,
Jul 22, 2019, 2:47:42 PM7/22/19
to google-a...@googlegroups.com
Sorry for putting the question in the unconvenient mailing list.

However , I found a solution by adding maximum privileges to the default service account, and the next command was the tip :
Gcloud compute ssh instanceName


Cordially,
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6ebe209b-178b-41ae-9968-e628fcad8ced%40googlegroups.com.

Bruno (Google Cloud Support)

unread,
Jul 22, 2019, 3:54:24 PM7/22/19
to Google App Engine

Hello,


I am glad that you figured out to resolve your issue.

However, I put this documentation at your disposal if you require additional information about SSH in GCP.


- Create a SSH key on GCP [1]. 

- It is possible to edit or remove the expiration time on SSH keys [2].

- Some information about using the 3rd party tool Putty with GCP [3]


[1] https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys#createsshkeys

[2] https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys#sshkeyformat

[3] https://cloud.google.com/compute/docs/instances/connecting-advanced#thirdpartytools



On Monday, July 22, 2019 at 2:47:42 PM UTC-4, Mohamed Mustapha K wrote:
Sorry for putting the question in the unconvenient mailing list.

However , I found a solution by adding maximum privileges to the default service account, and the next command was the tip :
Gcloud compute ssh instanceName


Cordially,

Le dimanche 21 juillet 2019, Mohamed Mustapha K <mohamedmus...@gmail.com> a écrit :
Hi!

Let me share my problem.

Before, the connection to my debian 9 instance via ssh was Ok; now it does not connect to the Vm.

I tried different forums in vain.
I remarked that the ssh keys were expired
I tried to regenerate the keys via puttygen
Also the gcloud : gcloud compute config-ssh and the generate keys are per default expired 
I connected via serial port, however it i very unconfortable, and many line commands that I would install doesn't work : like installing ftp to restore my files
I tried to add another vm instance and connecting the existing disk, and this wasn't the solution

Could you please help me to resolve this issue

THank you in advance


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-a...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages