Re: F-Secure Server - WeOnlyDo Client issue to au (General questions)
Sreekumar,
I don't have problems like you. I just installed F-Secure (It announced itself as SSH-2.0-3.2.0 F-Secure SSH Windows NT Server)
and here's what I did:
1. I generated key and saved it locally
[code]WeOnlyDo.Security.Cryptography.KeyManager km = new WeOnlyDo.Security.Cryptography.KeyManager();
km.Generate(WeOnlyDo.Security.Cryptography.SSHKeyTypes.DSAKey);
km.Save(WeOnlyDo.Security.Cryptography.SSHKeyTypes.DSAKey, c:\\mykey.priv );[/code]
2. I took it's public key
[code]String a = km.PublicKeySSH(WeOnlyDo.Security.Cryptography.SSHKeyTypes.DSAKey);
Console.WriteLine(a);[/code]
and pasted contents on the server in c:\documents and settings\kreso\.ssh2\1.pub
and in file c:\documents and settings\kreso.ssh2\authorization I added line
key 1.pub
3. I used this code to connect:
[code]WeOnlyDo.Security.Cryptography.KeyManager km = new WeOnlyDo.Security.Cryptography.KeyManager();
km.Load( c:\mykey.priv );
WeOnlyDo.Client.SSH ssh = new WeOnlyDo.Client.SSH();
ssh.Hostname = 192.168.0.31 ;
ssh.Login = kreso ;
ssh.Authentication = WeOnlyDo.Client.SSH.Authentications.PublicKey;
ssh.PrivateKey = km.PrivateKey(WeOnlyDo.Security.Cryptography.SSHKeyTypes.DSAKey);
ssh.Blocking = true;
ssh.Connect();[/code]
it worked without any problems.
Can you try above steps?
Complete thread:
- F-Secure Server - WeOnlyDo Client issue to authen - Sreekumar, 2004-10-21, 07:46
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-21, 10:49
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-22, 11:42
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-22, 16:15
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-28, 08:45
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-28, 19:54
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-29, 07:43
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-29, 14:15
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-29, 14:20
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-29, 14:21
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-29, 14:22
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-30, 06:28
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-31, 02:22
- Re: F-Secure Server - WeOnlyDo Client issue to au - Benny, 2004-10-31, 06:46
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-31, 10:28
- Re: F-Secure Server - WeOnlyDo Client issue to au - Benny, 2004-10-31, 06:46
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-31, 02:22
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-30, 06:28
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-29, 14:22
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-29, 14:21
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-29, 14:20
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-29, 14:15
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-29, 07:43
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-28, 19:54
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-28, 08:45
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-22, 16:15
- Re: F-Secure Server - WeOnlyDo Client issue to au - Sreekumar, 2004-10-22, 11:42
- Re: F-Secure Server - WeOnlyDo Client issue to au - wodSupport, 2004-10-21, 10:49