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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: [SOLVED] Retrieving a LOT of output from a command...
Experts, OK... I'd like to ask you for feedback/opinions on the following, seeking a better way to do this. You know the requirement: Capture a TON of output from a command... The standard Execute...
View ArticleNew Post: Connection Sharing between SSH SCP and SFTP
Hi, Is there a current method to share a SSH connection between SshClient ScpClient and SFTPClient? I couldn't find an obvious method so resolved the issue by modifying BaseClient and ScpClient as...
View ArticleNew Post: Connection Sharing between SSH SCP and SFTP
In addition to using the SshClient to create the session, I have modified Session.cs as follows,Session.cspublic Session(ConnectionInfo connectionInfo) { this.ConnectionInfo = connectionInfo;...
View ArticleNew Post: Need help getting started with this library
Response to Marc Clifton - Part 1 Marc, I didn't want your post/question/issue to hang out there for too long without someone saying something from the community. I'm far from an expert, so bear with...
View ArticleNew Post: Need help getting started with this library
Response to Marc Clifton - Part 2 Marc, ...continuing on, I think I beat your #1 question to death... Let's keep things moving... :) The next question I think I know the answer to:2. Using the...
View ArticleNew Post: MoveTo() method
Hi, there; I receive error " [Renci.SshNet.Common.SftpPathNotFoundException]: {"No such file"}" when I use file.MoveTo(destination) method to move a file from one directory to another in a SFTPsite. I...
View Article