CreateShellStream closes the conenction : "An established connection was aborted by the server"

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 =...

Id #2563 | Release: None | Updated: Thu at 12:51 PM by artkrv | Created: Thu at 12:51 PM by artkrv

Disconnect() and Dispose() hangs if network device disappeared

Hi, I am currently using SSH.NET revision 40631. I am working with a embedded Linux device that's connected via a USB Ethernet Gadget. If the USB connection is already unplugged the Disconnect() m...

Id #2562 | Release: None | Updated: Thu at 10:01 AM by Schmid | Created: Thu at 10:00 AM by Schmid

issue with creating sockets with IPV6 address

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...

Id #2560 | Release: None | Updated: Wed at 3:24 PM by praveenbehara | Created: Wed at 3:24 PM by praveenbehara

BlockCipher.Encrypt fails if input message is not padded

BlockCipher.Encrypt fails if input message length is not a multiple of BlockSize. The error is "Invalid output buffer". This seems to be due to the following code in EncryptBlock function of Block...

Id #2547 | Release: None | Updated: Oct 24 at 3:40 PM by sergeyol | Created: Oct 24 at 3:40 PM by sergeyol

Path is not always resolved to fully qualified path in SftpClient

Just noticed that there are several methods in SftpClient (eg. OpenRead) that do not resolve the specified path to a fully qualified path before passing the path on to other part of SSH.NET. This ...

Id #2543 | Release: None | Updated: Oct 15 at 6:18 PM by drieseng | Created: Oct 15 at 6:18 PM by drieseng

Unable to reconnect after "Channel was closed"

I'm having trouble with using SftpClient. First, I'm inexplicably hitting SshException: Channel was closed. Second, when I detect that I hit it, I can't reconnect even if I create a new SftpClient ...

Id #2511 | Release: None | Updated: Oct 11 at 11:47 AM by drieseng | Created: Oct 7 at 3:54 AM by fancycat

How can I get the response via this library

Hello! I mean I used ForwardedPortDynamic to connect to some website. What event can i handle or which way can be use to see what is reponse from web server, Thank alot !

Id #2495 | Release: None | Updated: Oct 3 at 1:55 PM by newbie_chicken | Created: Oct 3 at 1:55 PM by newbie_chicken

SftpPathNotFoundException for StatusCodes.NoSuchFile when uploading large files

I am getting StatusCodes.NoSuchFile when uploading above certain size file but works fine for small files, I tried playing with different Buffer sizes but no luck. Can anyone please let me know wh...

Id #2494 | Release: None | Updated: Oct 7 at 7:19 PM by drieseng | Created: Oct 3 at 12:21 PM by LG11105

Can not reconnect a portforwarding

Hello, I am using Renci Ssh to create a tunnel and get disconnected from time to time. The problem is that when I try to reconnect I have some trouble : My code is just some part of the example giv...

Id #2488 | Release: None | Updated: Sep 30 at 4:11 PM by smanig | Created: Sep 30 at 4:11 PM by smanig

Upload progress is reported in random order

UploadFile() Method in SftpClient has an optional uploadCallback parameter which can be used for tracking upload progress. The problem is, each invocation may arrive on a different thread, in any o...

Id #2463 | Release: None | Updated: Sep 26 at 4:53 PM by sly_tm | Created: Sep 26 at 4:53 PM by sly_tm