COM Library with Pageant

Advertisement

GPHolman
Joined:
Posts:
2

COM Library with Pageant

Hi

I use the COM Library to connect to a number of SFTP sites from the same server using public/private key authentication (none of which have a passphrase). All of these sites can be connected to using the COM Library apart from one which returns this error:
No supported authentication methods available (server sent: publickey)
However, if I run pageant and add the sites private key it will work fine. (The WinSCP GUI client will connect ok even if Pageant is not running.)

Can anyone please explain what could be happening here and if it would be possible to remove the need to use Pageant for this one connection?

Thanks.

Reply with quote

Advertisement

GPHolman
Joined:
Posts:
2

Hi Martin

Thanks for your reply. I output the session log and it told me what the issues was:
Unable to load key (PuTTY key format too new)
Updating to the latest dll version and has solved the problem.
You live and learn.

Thanks again.

Reply with quote

Advertisement

You can post new topics in this forum