Re: Cipher used to create the keys (General questions)
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:
- Cipher used to create the keys - mike_mort, 2008-08-01, 13:15
- Re: Cipher used to create the keys - wodDamir, 2008-08-01, 13:28
- Re: Cipher used to create the keys - mike_mort, 2008-08-01, 13:46
- Re: Cipher used to create the keys - wodDamir, 2008-08-01, 15:43
- Re: Cipher used to create the keys - mike_mort, 2008-08-02, 13:17
- Re: Cipher used to create the keys - wodDamir, 2008-08-02, 15:13
- Re: Cipher used to create the keys - mike_mort, 2008-08-02, 13:17
- Re: Cipher used to create the keys - wodDamir, 2008-08-01, 15:43
- Re: Cipher used to create the keys - mike_mort, 2008-08-01, 13:46
- Re: Cipher used to create the keys - wodDamir, 2008-08-01, 13:28