New Post: Local port forwarding: how to detect that no process is listening...
Hello, I ran into this problem while forwarding local port X (client:X) to port Y of the ssh server (server:Y): even if no process is listening on port Y on the ssh server, I can still connect to...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
But you can give some informations about the servers? Like OS, SSH Version etc. Maybe this can give us a hint how they differ.
View ArticleNew Post: PortForwading Bug
Hello, I'm worry to announce this problem is still present under Windows XP. The SqlConnection.ClearAllPools() solution runs fine under Windows 7, but under XP breaks still. I debug just this code: //...
View ArticleNew Post: PortForwading Bug
Sorry, Its not an SSH.NET bug/problem. It's an bug of your app. Btw. Please use english exceptions and post code. Else it's just guessing,
View ArticleNew Post: About the speed
Performance of ssh.net should have improved significantly with the changes I committed yesterday. There's still room for improvement though.
View ArticleNew Post: ssh conversation
Any ideas, please? I just need a basic example of ssh conversation. Thanks.
View ArticleNew Post: ssh conversation
There are docs you can read and the tests can be used as "example". e.g.: https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet.Tests/Classes/SshClientTest.cs
View ArticleNew Post: Subscribe to DataReceived Event of ShellStream
Hello folks, I would like to implement a service where I´m able to parse the results of the Linux command top. So every second my server returns a new result of the performance stats. I already tried...
View ArticleNew Post: Sudo catch password prompt
Hello folks, is there an event or something like that where I can catch a password prompt after a sudo command? greetings WhiteIntel
View ArticleNew Post: Sudo catch password prompt
No special event for this since it has nothing to do with ssh, but works with ShellStream and expect.
View ArticleNew Post: problems executing command
Hi everyone, I need to create a connection to a linux machine and execute a .42r binary file. To run this type of files we have an utility call fglrun. My code is ok, but my problem (think so..) is...
View ArticleNew Post: problems executing command
Try:using (var ssh = new SshClient(new PasswordConnectionInfo("MyHost", "User", "Pass"))) { ssh.Connect(); var cmd = ssh.RunCommand("FGLDIR=\"/home/genero/241/fgl\" /home/genero/241/fgl/bin/fglrun...
View ArticleNew Post: problems executing command
Thank you very much da_rinkes!! you gave me the seed of the solution. When the error was display, i realise that i have to load all the enviroments variables. Then i create an exe file to load all this...
View ArticleNew Post: Unhandled exception
Hello, I have been using the SSH.Net library to connect to a remote SSH server to establish a DB connection between a VB client software and MySQL server. Everything works fine except sometimes the...
View ArticleNew Post: ssh conversation
Griffin90, In working with Cisco equipment, for example, I found that you had to be careful about when to issue CR, LF, CRLF, or even nothing! To help others extend renci, I wrote a short blog article...
View ArticleNew Post: ssh conversation
Hello. First of all, thanks both of you for your time. This is what I got so far: Dim ConnString As New Renci.SshNet.PasswordConnectionInfo("myserver.com", "xx65", "password") Dim sshConn As New...
View ArticleNew Post: ssh conversation
Griffin90, You're on the right track. Just like a real terminal, the results of a command are returned like they would be in a terminal session if you were 'manually' logged on via SSH. When you...
View Article