Cipher used to create the keys - WeOnlyDo Discussion board

Cipher used to create the keys (General questions)

by mike_mort, Friday, August 01, 2008, 13:15 (5958 days ago)

Hi,

I have been trying to use wodSSH to create a key pair and then use the key to connect to the server. I have used the following code to create the new key:

[code]
Dim myNewKey As KeyManager = New KeyManager
myNewKey.Generate(SSHKeyTypes.RSAKey, rsaBit)
myNewKey.Save(SaveLocation, rsaPassPhrase)
[/code]

I have then gone onto place the public key on the system I would like to connect too.

I have then used wodSSH to connect to the test system; however, it either stays within the connecting state and never connects or if blocking is enabled it errors with not authenticated.

I have then tried to use putty to confirm I can connect using that and it states that the key cannot be used and it defaulted to password authentication; hence what was happening above.

I then tried to use puttygen to load the private key and it states that it 'Couldnt load private key (ciphers other than DES-EDE3-CBD not supported'.

I am assuming that this is the issue. How can I change the cipher when creating the key pair or are there any other ideas?

Thanks, Mike


Complete thread: