Cisco 3600 Error Sending enable password

Bottom Line: On a 3600 Cisco switch, after sending the enable password the LostConnection event is raised, with this trace: at Renci.SshNet.Common.SshDataStream.ReadBytes(Int32 length) at Renci....

Id #2808 | Release: None | Updated: Aug 11 at 12:46 PM by penright | Created: Aug 11 at 12:46 PM by penright

Can't install SSH.NET into Xamarin Android Project

When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do a...

Id #2806 | Release: None | Updated: Jul 28 at 8:15 PM by drieseng | Created: Jul 22 at 2:10 PM by TimHaydnJones

stty: standard input: Invalid argument

Hi SSH.NET team, Thanks for providing such a good library. I'm having an issue (shown as title) when trying to use ssh.RunCommand() function to execute a command on a remote linux. Has anyone el...

Id #2803 | Release: None | Updated: Jul 3 at 3:13 PM by Devin_Long | Created: Jul 3 at 3:13 PM by Devin_Long

Scp slow copy

Hi, I've been experimenting with the scp implementation and noticed it is slower compared to the command line tool scp. In my test, it is 5s to copy with scp, and 15s with SSH.NET. Is this expecte...

Id #2801 | Release: None | Updated: Jun 16 at 11:33 PM by 4I03F2lod | Created: Jun 15 at 1:36 AM by 4I03F2lod

Server response does not contain SSH protocol identification

Getting an error Renci.SshNet.Common.SshConnectionException: Server response does not contain SSH protocol identification. at Renci.SshNet.Session.Connect() at Renci.SshNet.BaseClient.Connect() whe...

Id #2800 | Release: None | Updated: Jun 10 at 2:51 PM by alexgurman | Created: Jun 10 at 2:51 PM by alexgurman

The requested address is not valid in its context

Hi, I am encountering error as stated above. It is encountered upon hitting this.client.Connect(); . Below is the block of code involved, for your reference: public bool Connect() { ...

Id #2798 | Release: None | Updated: Jun 8 at 9:19 AM by mtorres0612 | Created: Jun 8 at 9:19 AM by mtorres0612

Mocking

Hi, I am using dependency injection to inject SftpClient into my code. Since there are no interfaces defined in this project I have written a wrapper/proxy around SftpClient so that I can inject a...

Id #2792 | Release: None | Updated: May 12 at 10:22 AM by mattaustin | Created: May 12 at 10:22 AM by mattaustin

Command "sed" is not functional

Command "sed" is not functional: cmd = sshClient.RunCommand("sed -i 's/VARS=.*/VARS=12/g' /tmp/dataconf.cfg #") Threading.Thread.Sleep(2000) cmd = sshClient.RunCommand("save #") Threading.Thread.Sl...

Id #2790 | Release: None | Updated: Apr 26 at 3:53 PM by rubendario1979 | Created: Apr 26 at 3:53 PM by rubendario1979

SftpPermissionDeniedException: %RNTO-bad%

Hi, I am utilizing SSH.NET library for SFTP file processing and even though user has permission to rename file (move), I get below exception. %RNTO-bad% (DelegateServiceHandle.Start => <>c__Displa...

Id #2789 | Release: None | Updated: Apr 26 at 8:36 AM by spidercode | Created: Apr 26 at 8:36 AM by spidercode

sftpClient and Exists method

I have wrote this simple test in MsTest: [TestMethod] public void TestExist() { // arrange var filename = "filename.txt"; var file = new MemoryStream(this.GetByt...

Id #2783 | Release: None | Updated: Mar 4 at 8:54 AM by marianoc84 | Created: Mar 4 at 8:54 AM by marianoc84