Re: host public key retrival (General questions)
Let me try to answer my own question.
I use public key I got from host to generate my private key that will be used in future communication.
This is the code I am using.
KeyManager km = new KeyManager();
try
{
km.Load(publicKeyPath, keyPassword);
}
catch (Exception)
{
km.Generate(SSHKeyTypes.RSAKey);
km.Save(SSHKeyTypes.RSAKey, path, Password);
}
Complete thread:
- host public key retrival - carsimex, 2008-10-08, 23:43
- Re: host public key retrival - wodDamir, 2008-10-09, 00:02
- Re: host public key retrival - carsimex, 2008-10-09, 00:12
- Re: host public key retrival - wodDamir, 2008-10-09, 09:29
- Re: host public key retrival - carsimex, 2008-10-09, 19:29
- Re: host public key retrival - carsimex, 2008-10-09, 20:00
- Re: host public key retrival - woddrazen, 2008-10-09, 20:08
- Re: host public key retrival - carsimex, 2008-10-09, 21:42
- Re: host public key retrival - carsimex, 2008-10-14, 20:02
- Re: host public key retrival - wodDamir, 2008-10-14, 20:16
- Re: host public key retrival - carsimex, 2008-10-14, 20:19
- Re: host public key retrival - wodDamir, 2008-10-14, 20:23
- Re: host public key retrival - carsimex, 2008-10-14, 20:38
- Re: host public key retrival - wodDamir, 2008-10-14, 20:45
- Re: host public key retrival - carsimex, 2008-10-14, 22:28
- Re: host public key retrival - wodDamir, 2008-10-14, 22:37
- Re: host public key retrival - carsimex, 2008-10-15, 17:46
- Re: host public key retrival - wodDamir, 2008-10-14, 22:37
- Re: host public key retrival - carsimex, 2008-10-14, 22:28
- Re: host public key retrival - wodDamir, 2008-10-14, 20:45
- Re: host public key retrival - carsimex, 2008-10-14, 20:38
- Re: host public key retrival - wodDamir, 2008-10-14, 20:23
- Re: host public key retrival - carsimex, 2008-10-14, 20:19
- Re: host public key retrival - wodDamir, 2008-10-14, 20:16
- Re: host public key retrival - carsimex, 2008-10-14, 20:02
- Re: host public key retrival - carsimex, 2008-10-09, 21:42
- Re: host public key retrival - woddrazen, 2008-10-09, 20:08
- Re: host public key retrival - carsimex, 2008-10-09, 20:00
- Re: host public key retrival - carsimex, 2008-10-09, 19:29
- Re: host public key retrival - wodDamir, 2008-10-09, 09:29
- Re: host public key retrival - carsimex, 2008-10-09, 00:12
- Re: host public key retrival - wodDamir, 2008-10-09, 00:02