Atif
Atif

Reputation: 2210

Unable to connect to AWS centos instance from Oracle Linux Virtualbox

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.

Upvotes: 0

Views: 137

Answers (1)

Tommy Reynolds
Tommy Reynolds

Reputation: 109

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.

Upvotes: 1

Related Questions