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

New Post: Pageant integration?

I think pageant integration is amazing sadly the latest patch is 404'ed does anyone have it?

View Article


New Post: Unable to get download progress/downloaded bytes while using...

Hi There, I am trying to download file(s) from SFTP using BeginDownloadFile. The file is downloaded correctly with no issues but I observed there is no progress information available. The...

View Article


New Post: Get ShellStream to respond to multiple nested prompts

The problem is I want to use the ShellStream to change a user's password:user@linux:~$ passwd >current UNIX password: >Enter new UNIX password: >Retype new UNIX password: user@linux:~$ The...

View Article

New Post: StreamReader content and non printable characters

Hello Gert, i submited an issue as you proposed, thanks for your help. Manuel

View Article

New Post: SSH implementation comparision

Nice overview of SSH implementations, including SSH.NET:http://ssh-comparison.quendi.de/comparison.htmlhttp://ssh-comparison.quendi.de/impls/ssh-net.html

View Article


New Post: Better way of doing multiple cisco commands?

Hi, I've knocked the following code up to change the vlan on a switchport, is there a more efficient way of doing this rather than declaring a new var each time, also how do I catch the unhandled or...

View Article

New Post: How to detect a tunnel disconnect?

Hello, I have this piece of code which establish a remote Port an a Linux mashine: namespace SSHTest { using System; using System.Threading; using Renci.SshNet; using Renci.SshNet.Common; using...

View Article

New Post: How to detect a tunnel disconnect?

Hi, The ssh connection is still up? As long as the ssh connection is connected, the tunnel is also OK from the ssh point of view. If the packets can reach their destination after they leave the tunnel...

View Article


New Post: How to detect a tunnel disconnect?

Hi ! The ssh connection is still up? Well if I shut down the remote Server the SSH connection should be down. Hopefully :-) Which SSH.NET version do you use? I used the latest downloadable version...

View Article


New Post: How to detect a tunnel disconnect?

Sorry, I don't know your setup, especially which machine you meant with "linux machine"... The remote forwarding is started on the linux machine, so it is the job of the ssh server to manage the...

View Article

New Post: Cannot find message [/myfiletoupload.csv]

Hi, I have a problem sending a file on a certain sftp server given by a customer. The thing is, It's working great with my debug sftpserver I used to test with but when I want to test on the production...

View Article

New Post: Cannot find message [/myfiletoupload.csv]

It seems my customer has disabled the shell to let only the sftp with SSH2 1024 key connection. Is there an option to disable shell commands in SSHNET lib while connecting and trying to upload bytes to...

View Article

New Post: Connect to ms sql server using winforms

Hello, I'm having trouble connecting to a remote MS sql server (2008) through the ssh.net library. I can create the ssh tunnel to the sql server, and test ok but when I try to connect to the db from my...

View Article


New Post: Invoke-SsshCommand password problem

I have the same problem on CentOS 7 (Azure).

View Article

New Post: Invoke-SsshCommand password problem

This should help you to solve it:http://stackoverflow.com/questions/233217/pass-password-to-su-sudo-sshhttp://stackoverflow.com/a/4327123

View Article


New Post: Using ShellStream and readline gives me double prompts

drieseng wrote: Try using the 2014.4.6-beta1 release. I fixed a related issue. I have tried both beta1 and beta2 of 2014.4.6, but I still receive double prompts. Help me, please. Thank you and sorry...

View Article

New Post: Using ShellStream and readline gives me double prompts

duclm wrote:drieseng wrote: Try using the 2014.4.6-beta1 release. I fixed a related issue. I have tried both beta1 and beta2 of 2014.4.6, but I still receive double prompts. Help me, please. Thank you...

View Article


Image may be NSFW.
Clik here to view.

New Post: Using ShellStream and readline gives me double prompts

Here is my code: var command = txtCommand.Text; try { writer.AutoFlush = true; var text = reader.ReadToEnd(); writer.WriteLine(command); while (stream.Length == 0) { Thread.Sleep(500); } text =...

View Article

New Post: Using ShellStream and readline gives me double prompts

The problem comes from the StreamWriter() you use. Use writer.Write(cmd + "\n") or use the WriteLine of the ShellStream. I suggest you remove your StreamWriter() and StreamReader() and use the methods...

View Article

New Post: Using ShellStream and readline gives me double prompts

Thank you so much ! I have succeeded with cmd + "\n". Can you give me an example using method included in SshShellStream?

View Article
Browsing all 1729 articles
Browse latest View live


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