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

New Post: [SOLVED] Retrieving a LOT of output from a command...

Experts, OK... I'd like to ask you for feedback/opinions on the following, seeking a better way to do this. You know the requirement: Capture a TON of output from a command... The standard Execute...

View Article


New Post: Connection Sharing between SSH SCP and SFTP

Hi, Is there a current method to share a SSH connection between SshClient ScpClient and SFTPClient? I couldn't find an obvious method so resolved the issue by modifying BaseClient and ScpClient as...

View Article


New Post: Connection Sharing between SSH SCP and SFTP

In addition to using the SshClient to create the session, I have modified Session.cs as follows,Session.cspublic Session(ConnectionInfo connectionInfo) { this.ConnectionInfo = connectionInfo;...

View Article

New Post: Need help getting started with this library

Response to Marc Clifton - Part 1 Marc, I didn't want your post/question/issue to hang out there for too long without someone saying something from the community. I'm far from an expert, so bear with...

View Article

New Post: Need help getting started with this library

Response to Marc Clifton - Part 2 Marc, ...continuing on, I think I beat your #1 question to death... Let's keep things moving... :) The next question I think I know the answer to:2. Using the...

View Article


New Post: MoveTo() method

Hi, there; I receive error " [Renci.SshNet.Common.SftpPathNotFoundException]: {"No such file"}" when I use file.MoveTo(destination) method to move a file from one directory to another in a SFTPsite. I...

View Article

New Post: MoveTo() method

Hi, there;I found the what the problem is!. The third party SFTP directory (or SFTPClient?) is case sensitive! Cheers Robert.

View Article

New Post: Queue (List(Of Task)) of ssh actions on a single device... How?

Experts, I was scratching my head for hours when all my test code worked fine, but in my production/staging, I could not make the same code create a connection. Nothing really useful from...

View Article


New Post: How To Install Beta/Pre-Release With NuGet

[This may belong on the Docs page, but put it here so searchable] Visual Studio/NuGet Users... To install the latest alpha/beta/pre-release for review or other purposes, you can still use NuGet (which...

View Article


New Post: sftp download yields corrupt files

I am trying to pull some files off a server. The files appear to download correctly without issue--they have the correct size and name. However none of them will open. When I look at any of the files...

View Article

New Post: sftp download yields corrupt files

You may want to reset the position of the MemoryStream after the download has completed :p

View Article

New Post: 2014.4.6-beta1 and local port forwarding to MySQL not working

I am using as stated in subject version 2014.4.6-beta1 from NuGet and after following few posts I try to forward application connection to MySQL over ssh. This works just wing with plink (putty) On...

View Article

New Post: Portforwading to ssh server and make http request

Hello all, I wanna connect to ssh server and send a http request which isn't permitted by my ip. How I can do it? This is my code but the result is not correct about my ip after forwarding port. Thank...

View Article


Created Unassigned: Shell Stream incorrect output. [2190]

Hello. My code example:``` SshClient client = new SshClient(host, user, password); client.Connect(); using (ShellStream stream = client.CreateShellStream("xterm", 100, 100, 800, 600, 1024)){ String...

View Article

New Post: sftp download yields corrupt files

I really don't understand the different IO stream types very well, but a working solution I found was getting rid of the memory stream altogether and downloading directly to a file stream. The only...

View Article


New Post: 2014.4.6-beta1 and local port forwarding to MySQL not working

This works. Had a bug and closing port forward :)

View Article

Commented Unassigned: SCP: Cancel transfer [1781]

As discussed in http://sshnet.codeplex.com/discussions/432256 it would be very handy to be able to terminate SCP transfers.Comments: ** Comment from web user: Darkoperator ** This would be great if...

View Article


Created Unassigned: Payload cannot be more then 32768 bytes on...

Currently the default payload size for the SshClient is 32768 bytes.There is no property neither at the SshClient nor at the ForwardedPortRemote to change this.

View Article

Created Unassigned: Server string is null or empty Issue [2223]

can you help me understand why Session.cs is throwing an InvalidOperationException of "Server string is null or empty." when it is attempting to read the response(s) coming back from the connection...

View Article

New Post: Timeout value in ConnectionInfo - not used for Sftp?

I have the same issue with attempting a connection. I have the sftpClient.ConnectionTimeout set to 60 seconds. this seems to only validate between the reading of bytes from the async response. Not if a...

View Article
Browsing all 2955 articles
Browse latest View live


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