New Post: "An established connection was aborted by the software in your host...
I unfortunately don't have any specification, I even think that there won't be sent any information about the server during the connection establishment. I solved it by commiting type-specific commands...
View ArticleNew Post: changing Unix password using SSH.Net Library
Hi, I am having an requirement to develop the UI in ASP.net application which will be used to change/reset the user's password in UNIX box. Can we use SSH.Net lib to implement the functionality for...
View ArticleNew Post: ForwardedPortLocal and Connection error when re-conect secondtime...
Hello, first thanks for your great work, with this SSH library. I need help with ForwardedPortLocal. I do a comunication with some remote hardware with Modbus protocol and trought SSH tunnel. When i...
View ArticleNew Post: Weird problem on SSH Port Forwarding
Hello, just now i open new thread with an similar problem. When i open 2 forwardedlocalport, the first port is opened, the socket connect, with any data is received.
View ArticleNew Post: Login with Kerberos authentication
Hi All, has anyone tried to extend this tool with Kerberos authentication? Is there any plan to support this? Thanks, gyoreg
View ArticleNew Post: Login with Kerberos authentication
Hi, Currently there are no known implementation of this. I thought about it doing it long time ago but luck of time and knowledge of this area I could not get to it. If you end up finding this...
View ArticleNew Post: Shell functionlity
Dear All, I am trying to use the shellstream functionality in vb.net and somehow not able to use the Expectaction method, I am not able to figure out what needs to passed to ExpectAction method please...
View ArticleNew Post: SCP unexpected filename error
I'm adding SCP functionality to a PowerShell module I wrote, Downloading I have 0 problems from Unix and Linux hosts but uploading I'm getting a unexpected filename error. My code is bellowtry {...
View ArticleNew Post: Get the string result from Execute() during the execution
Hi all I am using SshCommand object and running an SSH file on a Linux machine using the Execute() function as follow SshCommand command = client.CreateCommand(string.Format("{0} {1}", shPath,...
View ArticleNew Post: Auto SSH.net client reconnect
I should know the answer to this, but my mind keeps on going blank. On a on-click event, I've been able to get the client started if not started, but how would I auto-reconnect the client if it...
View ArticleNew Post: SFTP Upload Problem
I can connect to the SFTP server, change directory, and list files in the working directory. I tried to use uploadfile method to send file, it ran without any exception but not file uploaded. Please...
View ArticleNew Post: Direct Connection instead of port forwarding
I am writing a client application that needs to connect to multiple servers simultaneously using port forwarding. How can I decide what local ports to use. Other SSH Clients that I have investigated...
View ArticleNew Post: Timeout for client.RunCommand()?
So Im using:using (var client = new SshClient(connectionInfo)) { client.Connect(); var cmd = client.RunCommand(command); unixResults = cmd.Result; client.Disconnect(); } Does var cmd =...
View ArticleNew Post: Is is support private key in OpenSSH format?
Is is support private key in OpenSSH format?
View ArticleNew Post: Is is support private key in OpenSSH format?
I have been using keys generated by OpenSSH with no problem.
View ArticleNew Post: Direct Connection instead of port forwarding
ForwardedPortDynamic is like a SOCKS 5 Proxy you can use where you do not have to do a 1:1 mapping, but your application must be proxy aware to be able to use the ForwardedPortDynamic.
View ArticleNew Post: (Renci.SshNet.Common.SftpPathNotFoundException: No such file...
MethodName => RequestOpenDir Error Code => 33383300 LogLevel => Error Stack Trace => Renci.SshNet.Common.SftpPathNotFoundException: No such file at...
View ArticleNew Post: Direct Connection instead of port forwarding
Thanks. I have since figured out that I will need to find the first available port and pass that to the ForwardedPortLocal constructor. I was looking at the code for the local port forward and see that...
View ArticleNew Post: (Renci.SshNet.Common.SftpPathNotFoundException: No such file...
can you paste the part of the code that generates the error and the values passed?
View ArticleNew Post: Direct Connection instead of port forwarding
pmilin wrote: Thanks. I have since figured out that I will need to find the first available port and pass that to the ForwardedPortLocal constructor. I was looking at the code for the local port...
View Article