0

When I am trying to connect to AWS CentOS instance from Linux Oracle I am getting below error:

ssh -i "/LinuxTest.pem" [email protected]
Load key "/LinuxTest.pem": invalid format

While I am able to connect with same key from Windows(which is the host machine) from Putty after converting the .pem to .ppk.

1 Answer 1

1

Use a credential file generated by the ssh-keygen(1) application, not an AWS since you are connecting to the VM itself and not to an AWS facility.

Sign up to request clarification or add additional context in comments.

1 Comment

Sorry If I have not made myself clear. I am trying to connect to aws from Linux guest machine on virtualbox and windows is the host machine. I am able to connect to aws instance from windows host machine successfully using the key generate from aws and converting it using puttygen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.