You are talking about two different things.
Darkoperator seems to talk about keys generated by ssh-keygen in PEM format, which works great.
wangsa is talking about the OpenSSH format, which seems to be not fully supported by this library.
Just took a quick look at PrivateKeyFile.cs and it looks like OpenSSH Format is just supported without
password.
Do you get any exceptions?
And please get used to paste code, when reporting problems on the internet.
Maybe there is a bug in your implementation ;)
Darkoperator seems to talk about keys generated by ssh-keygen in PEM format, which works great.
wangsa is talking about the OpenSSH format, which seems to be not fully supported by this library.
Just took a quick look at PrivateKeyFile.cs and it looks like OpenSSH Format is just supported without
password.
Do you get any exceptions?
And please get used to paste code, when reporting problems on the internet.
Maybe there is a bug in your implementation ;)