UPDATED
When I am trying to generate a public key it still gives me an error "error in libcrypto"
Load key "breakthis": error in libcrypto
Private key is given below
I am trying to solve a Hack the box machine
I was able to get a private key then I converted that private key into a hash for JOHNTHERIPPER and cracked it successfully
But now when I try to login in through ssh I am getting the following error I have searched a lot but not able to resolve these error
ssh -i id_rsa [email protected]
load pubkey "id_rsa": invalid format
Load key "id_rsa": error in libcrypto
[email protected]'s password:


