Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • I have an active ~/.ssh/id_rsa private key file that I use to ssh into my server, but I get this same error message when I try to set this in FileZilla. Any idea what the problem is?
    – JannieT
    Commented Oct 23, 2018 at 13:37
  • Do you mean it says "Could not load key file. File 'id_rsa' could not be loaded or does not contain a private key. - File Zilla"? Commented Oct 23, 2018 at 20:22
  • yes. That is exactly what I mean.
    – JannieT
    Commented Oct 24, 2018 at 9:45
  • This is very weird coz id_rsa is the private key file and only possible explanation is that it might be corrupt for some reason. Can you try downloading the pem file or creating a new pem file and using that? Commented Oct 24, 2018 at 23:29
  • Not so. If my private id-rsa file was corrupt then I would not be able to use it many times every day to ssh into several servers. But heh, I'm just reporting what I am experiencing, not trying to explain the problem. If someone has a similar problem as me, then try my answer below.
    – JannieT
    Commented Oct 25, 2018 at 8:38