Is it possible to set the SecureShellConnection.LocalEndPoint?

0
Based on the document, no set method is provided to specify a local endpoint for an SSH connection. https://doc.componentpro.com/ComponentPro-Sftp/ComponentPro-Net-SecureShellConnection-LocalEndPoint Does Anyone know how to set the source IP for the SFTP connection? Thanks
 
asked 9/25/2020 3:00:25 PM
add a comment

1 Answers

0
It's not possible to do it since that one is assigned by the client internal methods. using System.Net; using ComponentPro.Net; var client = new Sftp(); client.Connect("serverName"); IPEndPoint lep = (IPEndPoint)client.LocalEndPoint; IPAddress lip = lep.Address;
 
answered 10/6/2020 5:24:02 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp or ask your own question.