Quantcast
Channel: sshnet Discussions Rss Feed
Browsing all 1729 articles
Browse latest View live
↧

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

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


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

New Post: Server string is null or empty

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: Issue with SFTPFile methods

Hi All I'm getting a Object reference not set to an instance of an object error when attempting to use any of the methods of SFTPFile (MoveTo, Delete, UpdateStatus) on multiple sftp sites. I can...

View Article

New Post: Issue with SFTPFile methods

I'm not sure where but the problem appears to be in my code somewhere i think. I managed to get the rename to work by using sftpClient.rename rather than File.MoveTo. Literally just commented out...

View Article


New Post: Permission denied (publickey)

Hi, I am using private key to connect to Unix host. PrivateKeyFile SSHKey = new PrivateKeyFile( @"C:\x_dsa.txt" ); string userName = "user1"; PrivateKeyConnectionInfo conInfo = new...

View Article

New Post: Dealing with "prompts"

Ive managed to get connected and ive manged to send commands and recieve responses so its working great so far. But whenever I execute a command that has a prompt on the next line my code simply just...

View Article


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

I have figured out recently on the Cisco switches on the network I work on the "term pager 0" doesn't work.Dim result1 As String = DoCommand(client, "enable" & vbLf & "enablePass" & vbLf...

View Article

New Post: ShellStream, end of command / waiting for input

@washirv, The short answer is "Yes." You can look for a prompt, and/or apply a timeout. You can even extend and write your own, which others have done. Many have posted working examples in these...

View Article


New Post: Dealing with "prompts"

@Jelly, There are many examples from the users here in the discussions to do all kinds of things. There is certainly an example in the discussions, docs, or tests/source to do with what you are trying...

View Article

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

@chipgraphics, What a nice note! Thanks! It was a stupid change for cisco, and makes no sense whatsoever... it's the same IOS, for cryin' out loud...

View Article

New Post: Server String is null or empty

I have an SSIS (SQL Server Integration Services) package that is c# based. I am trying to connect to a MySQL server using the SSH Renci library. Here is what I am trying: using Renci.SshNet.Common;...

View Article
Browsing all 1729 articles
Browse latest View live


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