Hi,
Case : Connect to server with SSH : Error Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
Solution:
[1] Server Host: Generate SSH with ssh-keygen -t rsa
>> enter id_rsa >> enter Your Password
[2] Server Host: Show rsa with cat id_rsa.pub
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
Done.
I like the efforts you have put in this, regards for all the great articles. Lyndsay Renaud Fishman