Hi
With reference to this issue: <a href="https://forum.aspose.com/t/41502
The following code freezes on connect. No errors and apparently no time-out either (I left it for at least 30 minutes).
SftpClient client = new SftpClient();
client.Host = “sftp.XXXXX.co.za”;
client.Port = 22;
client.AuthenticationInfo = new AuthenticationInfo { UserName = “portfpre”, Password = “" };
client.Connect();
I can arrange to get the security credentials to you if necessary.
Note that I’ve also tried:
client.Connect(“sftp.XXXXXXX.co.za”, 22,
new AuthenticationInfo { UserName = “portfpre”, Password = "” } );
new AuthenticationInfo { UserName = “portfpre”, Password = "” } );
When connecting via FileZilla, I do get a request to confirm that “host key” is trusted. But I don’t know how to send that through to your component.
Please help.
Many thanks
Ross