Quantcast
Channel: SSH.NET Library
Browsing all 2955 articles
Browse latest View live
↧

New Post: C# SSHNET ISSUE

What version of SSH.NET are you using ? Please try using the latest beta as there have been some fixes in this area. You should at least get an SshAuthenticationException when authentication fails. I...

View Article


Commented Unassigned: Getting "SOCKS5: General failure" error [2094]

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

View Article


Commented Unassigned: Getting "SOCKS5: General failure" error [2094]

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

View Article

New Post: C# SSHNET ISSUE

Version 2013.4.7.0 Runtime version v4.0.30319 I can connect with putty with an empty password, so I don't think that is the problem? Thank you so much for helping out Gert! Cant believe you guys are...

View Article

New Post: C# SSHNET ISSUE

private void btnUpdate_Click(object sender, EventArgs e) { SshClient client = new SshClient("192.168.1.1", "Administrator", ""); client.Connect(); if (client.IsConnected) { MessageBox.Show("There is a...

View Article


Created Unassigned: SftpClient is throwing undocumented exceptions [2148]

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

View Article

New Post: C# SSHNET ISSUE

Can you provide the full stacktrace ? I think that - by the time you execute RunCommand - you're no longer able to write to the socket (but read still works, hence IsConnected returns true). Don't you...

View Article

New Post: ShellStream to execute a command, which requires confirmation "YES"

There was a fix in this area in 2014.4.6-beta1:https://sshnet.codeplex.com/workitem/1584 Since then there were no changes in this area at all.

View Article


New Post: Need help getting started with this library

For example: How do I instantiate a shell? Using the following code, why does "ls" work but "cd [to some folder]" doesn't? How do I display the typical *nix prompt? (For example, I'm connecting to a...

View Article


New Post: Retrieving a LOT of output from a command...

Experts, Tis is an interesting one for me. Previously, we saw this discussed in this post, and I will try that as well. For now, I can say that with the below SS instantiation, I am maxing out at...

View Article

New Post: Retrieving a LOT of output from a command...

Well, I think I officially failed to get uuleg's example working:"Failed to open a channel after 10 attempts." Using:Public Function SendGetLots(Cmd As String) As String Dim result As New StringBuilder...

View Article

Reviewed: 2014.4.6-beta1 (Jun 16, 2014)

Rated 5 Stars (out of 5) - The concensus among the user community is that the first review was done by someone with a competing, probably for-pay, product to Renci.SshNet. The 'troll' never responded...

View Article

Commented Issue: Remove Line Feed from WriteLine method in Shellstream Class...

When working with the expect method, it was discovered the WriteLine was sending an linefeed after a carriage return. This was throwing some SSH implementations off because the linefeed is being...

View Article


New Post: how to get long messages from cisco router

uugan, I would love to get your example working, as I have the exact same problem you originally posted about. 50,000+ rows of 50 byte output... I tried to just run it, and of course (because it was...

View Article

New Post: .NET SftpClient.ListDirectory() returns "." and ".."

@PLanderwyn,"I find this pretty disturbing as they aren't real files and they can't be found in the directory..." Well, there are some that would take issue with that statement. In fact, as we learn in...

View Article


Image may be NSFW.
Clik here to view.

New Post: Unable to open CHM help file

I still see this, so I'm posting a few screenshots to show new folks the steps: Step 0: -Download the help file. -Right-click on the downloaded file. -Select Properties from the context menu... Step 1:...

View Article

New Post: PowerShell 3 Support

You need to set your execution policy. Run powershell as admin If you run Get-ExecutionPolicy you will find that you're probably set to restricted. So run Set-ExecutionPolicy RemoteSigned and then hit...

View Article


Reviewed: 2014.4.6-beta1 (Jun 17, 2014)

Rated 3 Stars (out of 5) - Well, it works (I've only been using SFTP) but throwing undocumented exceptions when the connection fails and then not being able to dispose of the SftpClient object is just...

View Article

New Post: Replace DLL by a zip with DLL and XML in downloads

Hello The DLL is quite useless without the XML documentation. Would it be possible to pack the XML documentation with the DLL so people won't have to download the source and compile.

View Article

New Post: Getting blank output using template example

Seth, This method works great for me, except when I have a lot of output coming back from the command. Then the buffer returns a truncated version of the output... I'm still working on the 'async'...

View Article
Browsing all 2955 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>