Format of ssh private key - WeOnlyDo Discussion board

Format of ssh private key (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Marco, Tuesday, November 02, 2004, 01:26 (7117 days ago)

Hi,

I'm trying to use the Wodssh libraries with C/C++ program.
I'm working with Damiano and we have another problem:

we don't able to use a private key creating with ssh linux command (ssh-keygen).
the Wodssh support sent us a correct private key that they use, but we happen a strange thing:
if in the program we take the private key from a file, then it go, but if we load the key in a mysql database and later we use it in the program, then it doesn't go.
Why? What is the correct format for the private key?
Is there a direct way to create a correct private key with a command or function? Must the key be converted in some different format such as binary format or must it be modified?

Thank you
Bye


Complete thread: