SSH.NET
SSH.NET copied to clipboard
SftpClient, ability to set ClientIpAddress
If you use the SftpClient on for example a webserver with multiple IP addresses, we need to be able to set which IP-address to connect from.
var ftp = new SftpClient(new ConnectionInfo(and, so, on, and_on));
ftp.ClientIpAddress = "external_ip_address_here";
ftp.Connect();
This would help us connect to SFTP-servers with limited IP-access.