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

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

by mike_mort, Friday, August 01, 2008, 13:46 (5957 days ago) @ wodDamir

Hi,

This is my code and i have already viewed the examples.

[code]
Dim myOldKey As KeyManager = New KeyManager
myOldKey.Load(LoadLocation, pwdPassPhrase)

Using sshConnection As New WeOnlyDo.Client.SSH

sshConnection.Protocol = SSHAuto
sshConnection.Hostname = strSystem
sshConnection.Authentication = PublicKey
sshConnection.Login = frmMainForm.txtUserName.Text
sshConnection.PrivateKey = myOldKey.PrivateKey(SSHKeyTypes.RSAKey)
sshConnection.Blocking = True
sshConnection.Timeout = 60

sshConnection.Connect()

UpdatePublicKey = sshConnection.Execute( uname -a
)

sshConnection.Disconnect()

[/code]

If I create an RSA key in putty it uses the DES-EDE3-CBC and the wodSSH uses DES-EDE3-CFB and they are both RSA keys which are being created. This is the cipher I am referring to.

I have already tried to import the key into key into putty, this cant be done as it states the cipher is not supported.

The problem seems to be around the keys and not the code. Can anyone advise on this?

Thanks, Mike


Complete thread: