Re: Public Key authenication - WeOnlyDo Discussion board

Re: Public Key authenication (General questions)

by imper, Friday, June 17, 2005, 03:53 (6893 days ago) @ wodSupport

My problem is that I amd using Delphi 7, and it won't let me treat wodkeys.dll like an activex control. I don't think I need it anyway. I generated the keys on the server and verified that they work. I then copied the private key into a memo on the app and tried to log in, and the login failed. Is there something I have to do with the key to pass it to the server? Here's my code for your review:

wodTunnel1.Hostname := Edit1.Text;
wodTunnel1.Port := 22;
wodTunnel1.Protocol := SSHAuto;

wodTunnel1.Login := 'testuser';
wodTunnel1.PrivateKey := Memo1.Text;
wodTunnel1.Authentication := authPubkey;

Regards!


Complete thread: