New Post: Maintain conversation
after connection, you have to use a sshclient.shellstream for sendng commands & receiving responses take a look at...
View ArticleNew Post: Examples
I'm trying to find some examples on how to use this rather thorough library but I'm not having any luck. I've looked in the HTML Help file and while all the Classes are well documented through XML...
View ArticleNew Post: Examples
you can take a look at http://blog.atcp.us/2013/11/10/talking-to-cisco-routers-switches-firewalls-with-renci-sshnet/ or...
View ArticleNew Post: Examples
I am primarily looking at the SFTP Namespace, uploading, downloading, reading the directories and deleting files. I thought there would be some examples and I just wasn't finding them in the...
View ArticleNew Post: Creating an official fork on github?
I think this is a good idea. It will make the project move a lot quicker with more contributions. I certainly hope the original authors can see its value and join in with the move.
View ArticleNew Post: Send and store results from multiple commands in the same connection
Use a ShellStream to create a shell from which you can send and receive interactive commands from.http://stackoverflow.com/questions/28452809/renci-sshnet-how-to-type-a-text-in-ssh-session
View ArticleNew Post: Downloadind file over SFTP is slow
I am using the following code to download file with secure FTP and the performance is 4-5 times slower than WinSCP. var client_ = new SftpClient( settings_.ServerAddress, settings_.Username,...
View ArticleCommented Unassigned: Current code does not compile for .Net 3.5 [2642]
I have been trying to compile the current master branch of the repo for .Net 3.5 with no luck. Anything I may be missing?Comments: ** Comment from web user: SearchForTheCode ** Yep.. tested the latest...
View ArticleNew Post: Creating an official fork on github?
I like this idea as well. da_rinkes, thoughts?
View ArticleNew Post: Send and store results from multiple commands in the same connection
Thanks for the reply. From the linked example this simply writes text to the stream and then i can read it back. I think i am mis-understanding the purpose of the ShellStream or just missing how to use...
View ArticleNew Post: Maintain conversation
Thanks for the reply this link snowed me i'm a afraid, i am a native c# user, do you have any simplified examples?
View ArticleNew Post: ShellStream help
I am looking for a VERY simple working example of a shellstream __in c# __that will allow the user to send multiple cascading terminal commands e.g. ("cd /somewhere") and then ("pwd") when i read the...
View ArticleNew Post: Visual C++ authentication error.
Greetings to You! I have a problem with remote command execution through Renci::SshNet namespace. Here is the code:PasswordAuthenticationMethod^ pam = gcnew PasswordAuthenticationMethod("username",...
View ArticleNew Post: ShellStream help
Ok i found a post on the forums that got me started, and i was able to finally put the rest together. The trick was using StreamReader and StreamWriter objects to read and write to my stream variable...
View ArticleNew Post: Send and store results from multiple commands in the same connection
I worked my way through this and implemented a solution that will work for my situation. Thanks for the reply!
View ArticleCommented Unassigned: SOCKS Proxy - Port is wrongly written to socket [2680]
Hi,The port to write to socket should be masked and bit shift instead of dividing and modulus.// Send port//SocketWriteByte((byte)(ConnectionInfo.Port /...
View ArticleNew Post: SSH Tunnel closes
Hello! I am trying to make a SSH Tunnel application. I successfully open a tunnel with dynamic port and it works until the first connection by browser is made. After one page is loaded, the tunnel is...
View ArticleNew Post: sftpClient.UploadFile(fileStream, fileInfo.get_Name(), null); FAILED
Hi, I have successfully made the connection to SFTP server using SFtpClient class. I am trying to upload a file using SFtpClient.upload() using below syntax, sftpClient.UploadFile(fileStream,...
View ArticleNew Post: sftpclient.DownloadFile(_localFileName, fs, null); ERROR:...
Hi, I have made the connection to SFTP server using SftpClient class successfully. I am trying to execute below syntax, sftpclient.DownloadFile(_localFileName, fs, null); where fs is my File string...
View ArticleCommented Unassigned: Unable to reconnect after "Channel was closed" [2511]
I'm having trouble with using SftpClient. First, I'm inexplicably hitting SshException: Channel was closed. Second, when I detect that I hit it, I can't reconnect even if I create a new SftpClient...
View Article