Commented Unassigned: Open key file in read-only mode [2573]
In current implementation the private SSH key file is opened in read/write mode. This means the user needs to have read/write access for the key file. Opening the file in read-only mode should be...
View ArticleClosed Issue: Dynamic Port Forwarding slows down to a crawl [2010]
When using dynamic port forwarding it starts well but after a couple of minutes of surfing it slows sown and when looking at the connections using netstat -na many are in a waiting state. Used for...
View ArticleClosed Issue: Disconnect() and Dispose() hangs if network device disappeared...
Hi,I am currently using SSH.NET revision 40631. I am working with aembedded Linux device that's connected via a USB Ethernet Gadget.If the USB connection is already unplugged the Disconnect() method as...
View ArticleCommented Unassigned: SshData.ReadInt64 is broken [2579]
The ReadInt64 method of SshData is not correct. It casts to int before return, and the shifts are missing a cast to long type of thing (as the default shift works on expects int values, and 56 bits...
View ArticleNew 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 ArticleNew 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 ArticleCommented Unassigned: SshData.ReadInt64 is broken [2579]
The ReadInt64 method of SshData is not correct. It casts to int before return, and the shifts are missing a cast to long type of thing (as the default shift works on expects int values, and 56 bits...
View ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleCommented Unassigned: Session.Disconnect() hangs forever [2591]
I'm doing a reboot on a linux machine (dropbear ssh server) and disconnecting as fast as i can after that.I'm using ssh.net 2014.4.6-beta2The sshclient hangs in the Disconnect method...
View ArticleCommented Unassigned: Session.Disconnect() hangs forever [2591]
I'm doing a reboot on a linux machine (dropbear ssh server) and disconnecting as fast as i can after that.I'm using ssh.net 2014.4.6-beta2The sshclient hangs in the Disconnect method...
View ArticleNew 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 ArticleNew Post: Stability while in beta; "stable" timeframe
To any/all using: I'm reviewing use of this library for the first time. It seems like the "beta2" status is nominal, as the library has been undergoing constant dev and use, and many bugs within the...
View Article