Re: F-Secure Server - WeOnlyDo Client issue to au - WeOnlyDo Discussion board

Re: F-Secure Server - WeOnlyDo Client issue to au (General questions)

by wodSupport, Thursday, October 21, 2004, 10:49 (7128 days ago) @ Sreekumar

Sreekumar,

if you have existing key that work with f-secure client, did you try loading that key to wodKeyManager and connect with it? So, you can do something like this:

[code]KeyManager km = new KeyManager();
km.Load( your_private_key_from_f-secure );

SSH Ssh1 = new SSH();
Ssh1.Hostname = TextBox2.Text //IP Address;
Ssh1.Login = sshuser ;
Ssh1.Port =22;
Ssh1.Protocol = WeOnlyDo.Client.SSH.SupportedProtocols.SSH2;
Ssh1.Timeout = 30;
Ssh1.Authentication = WeOnlyDo.Client.SSH.Authentications.PublicKey;
Ssh1.PrivateKey = km.PrivateKey(type);
Ssh1.Connect();
[/code]


Complete thread: