New 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 ArticleCommented Issue: SCP : Missing files when using DirectoryUpload [1382]
Hi,I have the following environment:- Win7 / 64- .NET 3.5- MPC-Target :OpenSSH_6.0p1, OpenSSL 1.0.0j 10 May 2012- SSH.NET commit 19813I want to upload a directory structure (recursive, depth = 2) from...
View ArticleCreated Unassigned: System.InvalidOperationException: Server string is null...
I have utilized your Library. Which Is working absolutely fine for downloading and uploading files on SFTP server. But, Sometimes it gives me an error (__System.InvalidOperationException: Server string...
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 ArticleCommented Unassigned: System.InvalidOperationException: Server string is null...
I have utilized your Library. Which Is working absolutely fine for downloading and uploading files on SFTP server. But, Sometimes it gives me an error (__System.InvalidOperationException: Server string...
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 ArticleCommented Unassigned: Channel.SendData timeout [1706]
On one particular server, I'm getting timeout exceptions trying to upload. It's sitting there waiting for a SSH_MSG_CHANNEL_WINDOW_ADJUST message from the server, but the server still has like 14KB...
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 ArticleNew Post: ssh conversation
Griffin90, My email notification of your latest looked like this:Dim ConnSring As New Renci.SshNet.PasswordConnectionInfo("myserver.com", "xx65", "password") Dim sshConn As New...
View ArticleNew Post: ssh conversation
Hello Pat, I know that, I know the basics of visual basic... :) Those lines were commented because there were other lines on the code that I removed in order to make my point in this thread. Bunch of...
View ArticleCommented Unassigned: Channel.SendData timeout [1706]
On one particular server, I'm getting timeout exceptions trying to upload. It's sitting there waiting for a SSH_MSG_CHANNEL_WINDOW_ADJUST message from the server, but the server still has like 14KB...
View Article