Welcome to the Linux Foundation Forum!

I cannot connect to the master instance

I successfully created the first "master" instance and generated the SSH keys on my Mac, but when I try to connect to the instance, this is what I get:

➜  kubernetes-course ssh 35.202.142.183
The authenticity of host '35.202.142.183 (35.202.142.183)' can't be established.
ECDSA key fingerprint is SHA256:BErL1ftY+YWnbFzb3rJx80qnu39QVjC6kNbKWcaeLpU.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '35.202.142.183' (ECDSA) to the list of known hosts.
alaudazzi@35.202.142.183: Permission denied (publickey).

Can you help?

Answers

  • No need to debug. I finally managed to fix the issue.

  • msingh911
    msingh911 Posts: 1

    What was the fix ? I have tried via windows and mac , but to no help.

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @msingh911,

    If following the infrastructure provisioning videos, then the ppk key file method is for windows users, and the pem key file is for mac and linux users.

    Regards,
    -Chris

Categories

Upcoming Training