having trouble with ssh to lightsail

sideshowtom 5 months ago in iPad 0

Trying to ssh to my amazon lightsail instance without success.  The error I'm getting is

"ERROR: Public key authentication failed: Unable to extract public key from private key file: Wrong passphrase or invalid/unrecognized private key file formatERROR: Failed to authenticate - methods: (publickey)"

But there is no passphrase.  It seems to find the private key file I downloaded from the lightsail instance because it doesn't get as far without it being in ssh/id_rsa.  I've also tried naming it ssh/private.pem.

Any help is appreciated :)