0

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

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Greg Finzer
  • 6,714
  • 21
  • 80
  • 125

1 Answers1

0

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
  • 64,563
  • 18
  • 145
  • 216