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:
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.)No supported authentication methods available (server sent: publickey)
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?