tags:

views:

165

answers:

1

I have a key generated by SharpSSH in OpenSSH format. How do I convert it to Putty format in C#?

A: 

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.

Preet Sangha