How do I convert from an OpenSSH key to PuTTY format in C#?
I hav开发者_如何转开发e a key generated by SharpSSH in OpenSSH format. How do I convert it to PuTTY format in C#?
See here for how to use puttygen on linux.
You should be able to take the source code for this or the windows version and and create a windows DLL if one is not available. Then you can pinvoke to access it.
I downloaded the sources from here.
精彩评论