Google Compute Engine Permission denied (publickey,gssapi-keyex,gssapi-with-mic) SSH with Public Key on GCP


Case : Connect to server with SSH : Error Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

[1] Server Host: Generate SSH with ssh-keygen -t rsa >> enter id_rsa >> enter Your Password
[2] Server Host: Show rsa with cat and copy paste
[3] Console Google: Insert Public key from copy paste Server Host to Meta data > SSH Key

[4] Server Client : sudo vi /etc/ssh/sshd_config > PasswordAuthentication yes > sudo systemctl restart sshd
[5] Server Client (Set Password): sudo passwd > Enter your password
[6] Server Host: ssh <<ipserverclient>> and enter your password



Wahyu Amaldi, M.Kom has written 209 articles

Hallo Pembaca,
Saya merupakan konsultan di dunia SAP dan merupakan Spesialis .Net Programming.
Saya gemar berbagi pengalaman mengenai SAP & Dunia Programming, dan jika ada sesuatu yang perlu ditanyakan, bisa hubungi saya di email berikut ini:

Email 1 :
Email 2 :

Semoga Artikel yang Anda baca di website ini berguna dan dapat membantu Anda dalam menemukan solusi.

One thought on “Google Compute Engine Permission denied (publickey,gssapi-keyex,gssapi-with-mic) SSH with Public Key on GCP

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>