Re: Authentication class - WeOnlyDo Discussion board

Re: Authentication class (General questions)

by Jerome Airaudo, Thursday, June 02, 2005, 16:51 (7113 days ago) @ wodSupport

Thank you for all your answers.
I decided to use your ActivX/Component for SFTP, which works fine. I manage to generate keys, connect with login and password.
Now I'm trying to connect with private/public key, is there any restriction for this method with the evaluation version ?
It doesn't seem to load the private key and do not connect to my server. I've used putty and puttygen to use my private key with psftp.exe and it works, so I think it's not a big problem, only a misunderstanding from me.

There is a part of my source code :

Client is an Automation Object WeOnlyDo.wodSFTPCom.1
Key is an Automation Object WeOnlyDo.Keys.1

Client>>Hostname= my_host
Client>>Blocking = True
Client>>Resume = True
Key>>Load( privkey )
Client>>Authentication = 2 // Public key
Client>>PrivateKey = Key>>PrivateKey(0)
Client>>Connect()

Ferme

Thanks,

Jerome.


Complete thread: