New Post: Proxy issue with Sftp class (client) with Renci.SshNet library
hi friend how to connect to sftp server with (http proxy) AND (private key) ???? thanks :X
View ArticleNew Post: uploading encrypt data
hi friend i using this code for connecting to sftp server : var connectionInfo = new PasswordConnectionInfo(txtHost.Text, 22, txtUsername.Text, txtPassword.Text, ProxyTypes.Http, "209.xxx.xxx.xx",...
View ArticleSource code checked in, #40668
Added internal IForwardPort interface to allow mocking of forwarded ports. Added internal IChannelDirectTcpip and IChannelForwardedTcpip interfaces. Extended ISession and IConnection interface to allow...
View ArticleEdited Issue: Forwarded Port channels can get stuck waiting [1558]
I was testing ssh.net with 2 ForwardedPortLocals. When a connection is established, a port is forwarded properly but the channel is sometimes not closed, depending on how the local port was closed.It...
View ArticleNew Post: SCP upload speed
Comparing WinSCP Upload speed and SSH.Net upload speed (over a WiFi connection, but same external conditions and repeated a few times): WinSCP 1.3MB/s SSH.net 0.4MB/s (I saw a similar speed with...
View ArticleNew Post: SftpClient FileUpload asynchronous version
There is no direct asynchronous file upload method. They may have support in future. In the meantime you may use this extension method. It worked for me. :)public static class SftpClientExtension {...
View ArticleCreated Unassigned: issue with creating sockets with IPV6 address [2560]
Hi,While creating a socket, I have specified that it be connected to the localhost(Windows 2008 R2 64 bit machine) since my SFTP server is running there. It started throwing exceptions that socket...
View ArticleCreated Unassigned: Disconnect() and Dispose() hangs of network device...
Hi,I am currently using SSH.NET revision 40631. I am working with aembedded Linux device that's connected via a USB Ethernet Gadget.If the USB connection is already unplugged the Disconnect() method as...
View ArticleCreated Unassigned: CreateShellStream closes the conenction : "An established...
Dear friends, I am using SSHNET for many connections. I use CreateShellStream to find an output.One kind of hosts (the old one, BusyBox v1.00-pre10) closes the connection on ```using (var stream =...
View ArticleCommented Issue: SCP : Missing files when using DirectoryUpload [1382]
Hi,I have the following environment:- Win7 / 64- .NET 3.5- MPC-Target :OpenSSH_6.0p1, OpenSSL 1.0.0j 10 May 2012- SSH.NET commit 19813I want to upload a directory structure (recursive, depth = 2) from...
View ArticleCreated Unassigned: Session Operation has timed out [2564]
Hi,I've seen a few posts on this and while I've tried some of the fixes suggested in them, none of them seem to be working. This seems to be present regardless of file size, I've tried a 5MB file,...
View ArticleNew Post: sftp download file
hi i can't find sample code for downloading file uploading file is very easy but i cant download file from server Please attach a sample code thanks
View ArticleNew Post: sftp download file
this is my downloading file code public void download() { if (connection_flag == false) connect(); string downloadedFileName = "upload/01fe46c977e2cbf2159b571a2503a686.zip"; using (var stream = new...
View ArticleNew Post: sftp download file
using (var client = new SftpClient("<address>", <port>, <uid>, "<pw>")) { client.Connect(); List<Renci.SshNet.Sftp.SftpFile> Files = client.ListDirectory("<ftp file...
View ArticleCreated Issue: Inconsistent dealing with empty hostname and zero 0 in...
We currently do not deal with a zero-length hostname and / or zero port in a consistent way in our ForwardedPort implementations.ForwardedPortLocal:* we do not bind to all local IP addresses when...
View ArticleCommented Issue: SCP : Missing files when using DirectoryUpload [1382]
Hi,I have the following environment:- Win7 / 64- .NET 3.5- MPC-Target :OpenSSH_6.0p1, OpenSSL 1.0.0j 10 May 2012- SSH.NET commit 19813I want to upload a directory structure (recursive, depth = 2) from...
View ArticleCommented Issue: SCP : Missing files when using DirectoryUpload [1382]
Hi,I have the following environment:- Win7 / 64- .NET 3.5- MPC-Target :OpenSSH_6.0p1, OpenSSL 1.0.0j 10 May 2012- SSH.NET commit 19813I want to upload a directory structure (recursive, depth = 2) from...
View ArticleNew Post: Generating DSA and RSA keys
I have been trying to figure out if I can use this library to generate DSA and RSA keys. I have looked through the test inside Classes/Security but most of them are just stubs and it's unclear to me if...
View ArticleNew Post: Generating DSA and RSA keys
This is currently not available in SSH.NET, and it's not an area I'll likely work on in the near future. Why don't you just generate the key with readily available OSS tools (e.g. openssh) ?
View Article