Re: Creating KeyPair using wodsftp.net (General questions)
Hi hit_arc,
Public key is generated when Generate method is used. You should just export the PublicKeyOpenSSH property to a file, and you're done.
Something like this:
[code]string publicKey = KM.PublicKeyOpenSSH(WeOnlyDo.Security.Cryptography.SSHKeyTypes.RSAKey);
System.IO.File.WriteAllText(@ C:publickey.txt , publicKey);[/code]
Can you try something like that?
Regards,
Damba
Complete thread:
- Creating KeyPair using wodsftp.net - hit_arc, 2008-06-04, 10:50
- Re: Creating KeyPair using wodsftp.net - wodDamir, 2008-06-04, 11:10
- Re: Creating KeyPair using wodsftp.net - hit_arc, 2008-06-04, 11:54
- Re: Creating KeyPair using wodsftp.net - wodDamir, 2008-06-04, 12:02
- Re: Creating KeyPair using wodsftp.net - hit_arc, 2008-06-04, 11:54
- Re: Creating KeyPair using wodsftp.net - wodDamir, 2008-06-04, 11:10