Quantcast
Channel: SSH.NET Library
Browsing all 2955 articles
Browse latest View live
↧

New Post: Maintain conversation

after connection, you have to use a sshclient.shellstream for sendng commands & receiving responses take a look at...

View Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article

Commented 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 Article


New Post: Creating an official fork on github?

I like this idea as well. da_rinkes, thoughts?

View Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article


Commented 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 Article

New 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 Article


New 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 Article

New 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 Article

Commented 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
Browsing all 2955 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>