/home/thor/.ssh/mykey' private key is invalid or missing

On jump host create an SSH public/private key-pair with name mykey at path /home/thor/.ssh/ (mykey and mykey.pub) for user thor .

I created the public and private key pair it still shows as failure. Please advise.

Hi deb,

Check the full solution :

LAB kodekloud

1 Like

Thank you for this @Ayman . Could you please help in explaining this ?
Why do we add -t rsa & -f path shown in hint. Appreciate your help

@dileep.raj89 , The option “-t rsa” is to mention that we need to use RSA algorithm and "-f " option is to mention the filename to which we need to save the key-pair.

-t for tag the name of rsa and -f specify the file path as you said

hi @Ayman i can’t access the jump_host from the host01, it’s keep asking for passowrd ,
image
could you please help.