Cipher used to create the keys (General questions)
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:
- 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