Re: wodSFTP ActiveX with PrivateKey authentication (General questions)
Thank you for your reply.
Yes,I have imported it.(By the way,the icon is original.)
I loaded a privatekey file(DSA key) which is created
by ssh-keygen included in OpenSSH package with a passphrase.
No error occured ,and the PrivateKey property
of key object was setted.But I can not connect to the server.
I tried to use a puppy privateKey file and failed again.
(Puppy can connect to the server with the key file.)
I even failed in a VB program as follows.
Dim key As New Keys
Sftp.HostName = SSHServer
Sftp.Authentication = authPubkey
Sftp.Login = user1
key.Load C:id_dsa , who am i
Sftp.PrivateKey = key.PrivateKey(DSAkey)
Sftp.Timeout = 30
Sftp.Connect
Maybe I made some mistake,but I have no idea.
If you can not give me a Delphi sample now,
Would you please give me a VB sample?
Thank you very much.