Unable to connect to AWS centos instance from Oracle Linux Virtualbox

132 Views Asked by At

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

There are 1 best solutions below

1
On

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.