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

New Post: Accessing psql after login to a server

Instead of doing the shell dance, I propose to use a local forwarding. You can forward the database socket to your ssh client and talk to the database directly.

View Article


New Post: ScpClient false error detected during upload

I use the latest commit 41089.

View Article


New Post: Exception while disposing sshclient object

Hello all I am using the SSH.Net library in a project where I connect to a NetApp host. This generally works very good. However in cases where the host does not answer I get the following exception:A...

View Article

New Post: Proposal: Switching to GIT?

Hear ye, hear ye! Git would be absolutely positively super duper awesome. I'm currently using this library for a client, where we use Git. I have a couple of bug fixes and improvements that I'd like to...

View Article

New Post: Exception while disposing sshclient object

Philipp, What version of SSH.NET are you using ?

View Article


New Post: Exception while disposing sshclient object

As I wrote: 2014.4.6-beta1. This is a productive system and it is not that easy to deploy the lates version. In the code I saw that SshClientobject.Dispose() also calles the Disconnect() methode. The...

View Article

New Post: Disconnect blocks forever

Hello, I have the same problem. I'm using ssh.net 2014.4.6-beta2 I'm doing a reboot on a linux machine and disconnecting as fast as i can after that. The sshclient hangs in the Disconnect method...

View Article

New Post: Disconnect blocks forever

This is a known issue in beta 2 that I already ran into myself. Please submit an issue for this so we don't lose track of it. You can refer to this discussion. It happens when the server disconnects,...

View Article


New Post: Disconnect blocks forever

Thank you for the information. I have submitted an issue:https://sshnet.codeplex.com/workitem/2591

View Article


New Post: Connecting to Specific Port and then Send the login commands

Dear all, I need to login to one server in this way: telnet IP port login:user:password; send the command; exit; How can I do this? Thank you and regards. BR//

View Article

New Post: Connecting to Specific Port and then Send the login commands

By using a telnet library, this library is just for SSH. Quick google search result:http://www.codeproject.com/Articles/19071/Quick-tool-A-minimalistic-Telnet-library Hint: Avoid telnet! It's totally...

View Article

New Post: Proposal: Switching to GIT?

Please move this project to GitHub. While I like CodePlex's release functionality GitHub is a much better platform for collaboration. I am actively using this library at work and I cannot tell you how...

View Article

New Post: Create an SSH tunnel

I want to connect to an OpenVPN server through an SSH tunnel. Until now I open the tunnel manually with the following command : ssh -NfD 1080 username@remote.com I want to do the exact same command but...

View Article


New Post: Create an SSH tunnel

Use a SshClient and a ForwardedPortDynamic.

View Article

New Post: Create an SSH tunnel

I did this :using (var client = new SshClient("remote.com", "username", "password")) { client.Connect(); var port = new ForwardedPortLocal("localhost", 1080, "remote.com", 1080);...

View Article


New Post: Create an SSH tunnel

ForwardedPortLocal != ForwardedPortDynamic From ssh man-page: -D [bind_address:]port Specifies a local ``dynamic'' application-level port forwarding. Else the code looks fine. Edit: On a second...

View Article

New Post: Create an SSH tunnel

Thanks, it worked. Here's my code : public void Start() { using (var client = new SshClient("vps97919.ovh.net", "tunnel", "123456")) { client.KeepAliveInterval = new TimeSpan(0, 0, 30);...

View Article


New Post: Create an SSH tunnel

What are you using instead of console? I usually create a simple WinForms App which I can minimze to the system tray.

View Article

New Post: Create an SSH tunnel

I use a console App but in the project settings I select the output as Windows application instead of Console Application I tried a WinForms App but the SSH tunel closes when the Start function is...

View Article

New Post: Create an SSH tunnel

If you use the same code as some posts above, of course the tunnel is closed. You are disposing the client object after port.Start(), thats what a using is block is for. Just don't use using. Maybe...

View Article
Browsing all 1729 articles
Browse latest View live


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