SshCommand doesn't cleanup subscribed events

The SshCommand class leaves the unerlying channel subscribed to the session events after running a command. Repro is: using (var client = new SshClient(connectionInfo)) { client.Connect(); ...

Id #2295 | Release: None | Updated: Jul 16 at 9:04 PM by hmflash | Created: Jul 16 at 9:04 PM by hmflash

NullReferenceException on opening and listen to a ShellStream

Hello, i am having the following issue on the newest beta version of Renci.SSHNet 2014.4.6.0 If I try to open a ShellStream on a previously opened SSH Session to an embedded Linux system I am get...

Id #2293 | Release: None | Updated: Jul 17 at 7:29 AM by bernieserver | Created: Jul 16 at 2:58 PM by bernieserver

Unable to execute the commands with "sudo" on CentOS-OpneLogic

Hi, I was trying to access and execute the commands on remote Linux machine of CentOs-OpenLogic. But while executing the commands with sudo option, i was getting error like tty required. My code i...

Id #2279 | Release: None | Updated: Jul 14 at 10:22 AM by bhaskar939 | Created: Jul 14 at 10:22 AM by bhaskar939

Server string is null or empty Issue

can you help me understand why Session.cs is throwing an InvalidOperationException of "Server string is null or empty." when it is attempting to read the response(s) coming back from the connection...

Id #2223 | Release: None | Updated: Jul 3 at 1:47 PM by benhull | Created: Jul 3 at 1:47 PM by benhull

Payload cannot be more then 32768 bytes on ForwardedPortRemote

Currently the default payload size for the SshClient is 32768 bytes. There is no property neither at the SshClient nor at the ForwardedPortRemote to change this.

Id #2221 | Release: None | Updated: Jul 3 at 11:29 AM by kanios | Created: Jul 3 at 11:29 AM by kanios

Shell Stream incorrect output.

Hello. My code example: SshClient client = new SshClient(host, user, password); client.Connect(); using (ShellStream stream = client.CreateShellStream("xterm", 100, 100, 800, 600, 102...

Id #2190 | Release: None | Updated: Jun 23 at 2:05 PM by Melhior | Created: Jun 23 at 2:05 PM by Melhior

SftpClient is throwing undocumented exceptions

The documentation says that Connect can throw InvalidOperationException and ObjectDisposedException, but when you can't connect (remote server stopped, network problem, ...) a SocketException is th...

Id #2148 | Release: None | Updated: Jul 16 at 9:08 PM by hmflash | Created: Jun 13 at 9:20 AM by SachaK

Getting "SOCKS5: General failure" error

I am working on code which connects using sftp and proxy. Following is my code snippet. I am getting "SOCKS5: General failure." error. Please help. (Using 4.0 binary) Imports Renci.SshNet.SftpClie...

Id #2094 | Release: None | Updated: Jun 11 at 7:57 PM by mrinalk | Created: Jun 5 at 3:59 PM by mrinalk

Cannot find type System.Security.Cryptography.HashAlgorithm on Windows Phone 8.1

Hi, I'm trying to use this library on windows phone 8.1 I downloaded the windows Phone 8.0 version but when I try to use the library i get the following error: Cannot find type System.Security.Cry...

Id #2065 | Release: None | Updated: May 24 at 9:09 PM by galmosh | Created: May 24 at 9:09 PM by galmosh

Program crashes when running from SSIS in 64bit

Hello, I'm using the SSH.NET library in SSIS(SQL Server Integration Services) script task in in 64bit. Using actions like Create() or DownloadFIle() on an SftpClient object causes the second scrip...

Id #2048 | Release: None | Updated: May 22 at 9:53 AM by jsokolowski | Created: May 22 at 9:27 AM by jsokolowski