New Post: Not able to redirect output to string
Hello All, Based on various examples on this forum, I found a way to execute commands via SSH.NET Example below. using (var ssh = new SshClient(connectionInfo)) { ssh.Connect(); var cmd =...
View ArticleNew Post: TunTap SSH VPN
Hi there, I would like to implement the SSH VPN feature using a TunTap device. Openssh servers support this feature but unfortunately no ssh windows client can do it. My idea is to use the TunTap...
View ArticleNew Post: Is this project officially dead?
There's been no stable release since 2013...
View ArticleNew Post: Is this project officially dead?
Nope, not at all. It has been on pause for quite some time though. Recenty, I've started migrating to GitHub, and I'm working on adding support for UWP/UAP and .NET Core. Our new home is...
View ArticleNew Post: Can I use SSH.NET as an SSH server instead of a client?
No, this is not possible and I have no immediately plans for this. Contributions are welcome of course :p
View ArticleNew Post: SSH.NET dropping connection
Hi So I have a project that connects to some hardware with SSH. Everything is working well apart from one issue. At the end of my program I send a command to the hardware using SSH to restart the...
View ArticleNew Post: Pageant integration?
Is there a way to use the PageantProtocol / AgentAuthenticationMethod without recompiling SshNet? I'd like to use the version from NuGet to keep my application modular but it seems that some required...
View ArticleNew Post: Pageant integration?
Making it module with a RegisterMethod or similar option would probably be the way to go. I did integrate the paegent code into my sshnet build so I will see if I can at least get that up on GitHub.
View ArticleNew Post: help with starting off using this ssh.net
Hello I am new .Net programmer, I have been told to create a windows app(.Net) which would query the Linux server, send query to Linux server and receive and log all the files. I was googling around...
View ArticleNew Post: Not able to redirect output to string
The reason why you are not getting the result when you run it out of debug is because the command has not had chance to complete. When you run it in debug you pause the execution so the command on the...
View ArticleNew Post: Causes of "Server response does not contain SSH protocol...
I am getting that same error "Server response does not contain SSH protocol identification". My program sends a file, and pulls a file at certain times (sends a file at 3 a.m., pulls a file at 8 a.m.)...
View ArticleNew Post: Causes of "Server response does not contain SSH protocol...
I forgot to add some information of exactly what piece of code I am using. my log shows "Connecting..", then I see the exception "Exception caught in BBGenDataApplication.Utils.uploadFile: Server...
View ArticleNew Post: SSH tunnel(port forwarding) is not working with library but working...
Hi, I'm trying to build SSH tunnel through an external ssh server, meaning: forward some ports as local from my machine to ssh server, and then forward remote ports from ssh to different ports on my...
View ArticleNew Post: Need some way to set read position in stream
Stream.Seek() is not currently supported need some way to reset the read position back to 0 each time i attempt to read, while maintaining the ongoing conversation with the server terminal. Any ideas?
View ArticleNew Post: Enabling SShNet.Logging
You have to use a debug build of Renci.SshNet.dll, and you need to configure a listener for the "SshNet.Logging" TraceSource in your application's config file (e.g., SftpTest.exe.config if you're...
View ArticleNew Post: Any examples available of authentication passing both public and...
Looking for a working example of PrivateKeyAuthenticationMethod where we pass in both public and private key pairs to authenticate.
View ArticleNew Post: SynchronizeDirectories method
What does the SynchronizeDirectories method actuelly look at for decide if synch? Is it file size, edit date or what? Cant find it in the documentation.
View ArticleNew Post: Send and store results from multiple commands in the same connection
Hello, I have the same problem, can you tell how to solve it?
View ArticleNew Post: Need some way to set read position in stream
Any possibility of getting Seeking implemented or can anyone think of a way to re-read the current terminal window session from top to bottom once a read to end has been performed?
View ArticleNew Post: Create a new SSH connection and send a few commands (HELP ME...
Hello, I need help to create a connection in SSH and send a few commands (for a Linux SO). After send those commands i need this connection alive for a while: My code example: namespace test {public...
View Article