New Post: Hanging indefinitely while trying to write to the stream
I didn't want to mess with the source code of the SSH library in case it caused some further error. My stopgap solution was to encapsulate any call that might throw the exception that triggers the...
View ArticleNew Post: Low performance (Upload time comparing)
Hi, wonder if you managed to find this issue. I'm using sshnet to provide port forwarding for mysql backend of client application, and that does work great. Recently, we decided to do some more...
View ArticleCommented Unassigned: Permission Denied while doing an SFTP with Public...
Hi,We have an intermittent issue where the SFTP fails when we use the Public Private key mode of authentication.Below is the code snippet which is used to connect to SFTP.using(Renci.SshNet.SftpClient...
View ArticleNew Post: How to send results of client.RunCommand to a listbox WinForms C#
Hi There I am trying to use SSH.Net in a WinForms app, however I am having issues trying to ouput the result of a command to a listbox. I can connect fine to the server. Debugging the line with string...
View ArticleNew Post: How to send results of client.RunCommand to a listbox WinForms C#
Instead of using string output = client.RunCommand(command).ToString(); listBox1.Text = output; usevar output = client.RunCommand(command) listBox1.Items.Add(output.Result);
View ArticleNew Post: Stability while in beta; "stable" timeframe
I second the motion! This is great project and I don't want to see it die. I can certainly help and I am sure other people will help too! Moving to GitHub will certainly help and will allow other...
View ArticleNew Post: How to send results of client.RunCommand to a listbox WinForms C#
Great thanks, I'm getting the ls -la output into the listbox now, albeit all on one line but I can fix that. Thanks for your help :-)
View ArticleNew Post: How to send results of client.RunCommand to a listbox WinForms C#
Outputting the results of ls -la or iostat to the listbox is okay, columns are a bit off, more formatting required. This is okay for these commands, top for example doesn't display.var output =...
View ArticleNew Post: Upload limit
I can't say about whether or not there is a limit on SSH, but in looking at your code,do you think you could be consuming too many filehandles in your process? You might want to use ProcessExplorer or...
View ArticleNew Post: Trouble using .RunCommand() with ssh.net
So I am trying to run a remote nodejs server with a few arguments and although I manage the start the server correctly i fail to pass on to the next command and the app fails after a 60 sec timeout....
View ArticleCommented Unassigned: System.InvalidOperationException: Dynamic operations...
Hi All, I am trying to connect to FTP using your binaries and getting below error:System.InvalidOperationException: Dynamic operations can only be performed in homogenous AppDomain. at...
View ArticleNew Post: visual basic.net sftp downloading file with progress bar
hi please help me i need a program in visual basic 2010 express to sftp download a file from server but with a progress bar because there is not any example here in vb.net for this. many thanks in advance
View ArticleNew Post: client.RunCommand() is not working
static void Main(string[] args) { PrivateKeyFile key = new PrivateKeyFile("private"); using (var client = new SshClient("10.96.15.6", "admin", key)) { client.Connect(); client.RunCommand("xcommand...
View ArticleCreated Unassigned: SSH.NET sees files in list having Unicode symbols in...
On listing files on SFTP, I get the following file in the list:./BCS_Emir_BCSCY_Routa_16032015a.Routa � BCS CY.csv_UVTR.txtBut on trying to download it with ReadAllBytes, I get the exception of type...
View ArticleNew Post: Downloading and returning a non blocking stream of data using SSH.Net
I am using the ssh.net library for performing SFTP operations to work with large data files (>=500MB) I am having an issue with how to return the data in a non-blocking way. The...
View ArticleCreated Unassigned: Closing ForwardedPort ends with WSACancelBlockingCall [2666]
Hi, anytime I try to close forwarded port it ends with exception. I'm using SSH.NET.2013.4.7 when switched to 2014.4.6b2 I got "A first chance exception of type 'System.ObjectDisposedException'...
View ArticleNew Post: Windows phone 8 port farwarding
Hi I need to consume via c# a REST server via PortForwarding I would like to use SSH.net this wayusing (var client = new SshClient("server", "username", "password")) { client.ConnectionInfo.Timeout =...
View ArticleNew Post: Cancel a SFTP upload or download
hi Oleg can you please convert this code to visual basic.net
View ArticleCreated Unassigned: Does this support X11 forwarding? [2670]
I don't see any mention of X11 in the issues at all.
View ArticleCreated Unassigned: Don't throw ArgumentException on empty username [2672]
Currently the constructor for AuthenticationMethod throws an exception when the username is empty (String.Empty). This prevents from creating a connection with blank username (eg. Cisco routers).The...
View Article