So a while ago I set up a server on AWS, and used their generated SSH key. I saved the key to Lastpass, and have successfully retrieved it from there before, and got it working. However, after trying that again today, I can't get it to work.
-rw------- 1 itsgreg users 1674 Jun 6 12:51 key_name
I've tried ssh -i key_name
, ssh-keygen -f key_name
, but nothing works, I always get this error message:
Load key "key_name": invalid format
Is there any way to fix this?