Re: Cipher used to create the keys - WeOnlyDo Discussion board

Re: Cipher used to create the keys (General questions)

by wodDamir, Friday, August 01, 2008, 15:43 (5957 days ago) @ mike_mort

Mike,

I've duplicated the issue with puttygen, and will contact our programmers on this problem.

However, I've also tried connecting to server with KeyManager created keys, and it worked like a charm.

This is the code I used to connect to my server which had the public key implemented:

[code] //km.Generate(WeOnlyDo.Security.Cryptography.SSHKeyTypes.RSAKey);
//km.Save(@ C:file.txt , damir );
//System.IO.File.WriteAllText(@ C:public.txt , km.PublicKeyOpenSSH(WeOnlyDo.Security.Cryptography.SSHKeyTypes.RSAKey));
km.Load(@ C:file.txt , damir );
ssh1.Hostname = linux.weonlydo.com ;
ssh1.Login = weonlydo ;
ssh1.Blocking = true;
ssh1.Authentication = WeOnlyDo.Client.SSH.Authentications.PublicKey;
ssh1.PrivateKey = km.PrivateKey(WeOnlyDo.Security.Cryptography.SSHKeyTypes.RSAKey);
ssh1.Connect();[/code]

Perhaps that would work on your side too?

Regards,
Damba


Complete thread: