/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 :

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