Failed to user Key authentication for SFTP (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hi Tom,
I just checked, key is loaded ok.
But I think this line
PrivateKey := k.ToXmlString(RSAkey, true);
causes issue. Can you do something like
Sftp1.PrivateKey = k
or k.DefaultInterface() or something like that, I don't remember exact line for Delphi. PrivateKey will not accept XML, but will accept reference to wodKeys or raw data in some cases.
Jasmine.
Complete thread:
- Failed to user Key authentication for SFTP - tom, 2019-03-27, 07:27
- Failed to user Key authentication for SFTP - Jasmine, 2019-03-27, 07:29
- Failed to user Key authentication for SFTP - tom, 2019-03-27, 08:40
- Failed to user Key authentication for SFTP - Jasmine, 2019-03-27, 10:09
- Failed to user Key authentication for SFTP - tom, 2019-03-27, 11:08
- Failed to user Key authentication for SFTP - Jasmine, 2019-03-27, 10:09
- Failed to user Key authentication for SFTP - tom, 2019-03-27, 08:40
- Failed to user Key authentication for SFTP - Jasmine, 2019-03-27, 07:29