Created Unassigned: Logon to sshd fails: Update from v2013.4.7 to...
I had the latest stable release installed (v2013.4.7) and tried to login to OpenSSH_6.6.1p1 on Linux.This failed with the exception:__Renci.SshNet.Common.SshConnectionException____"An established...
View ArticleCreated Unassigned: sftpClient and Exists method [2783]
I have wrote this simple test in MsTest:[TestMethod] public void TestExist(){// arrange var filename = "filename.txt"; var file = new MemoryStream(this.GetBytes("This is a test")); var cl = new...
View ArticleCommented Issue: Error: Message type 52 is not valid [652]
I run a bunch of threads (max 30) which all create a client and connect to the same server, and run a few commands.All the clients use the same ConnectionInfo object to connect. The following exception...
View ArticleNew Post: Question about fingerprints
Is it possible for me to create an SFTP connection with the C# library in which I can pass the host key fingerprint as an argument just like you do with the username, password and host?
View ArticleCommented Unassigned: In some error cases, an unhandled exception might be...
There is a race condition that can cause an unhandled exception to be thrown. Take a look at the following code:```C#try{// "server" needs to be changed to a real SSH server// The credentials do not...
View ArticleCommented Unassigned: Null Exception thrown inside library [2721]
Below exception crashes the windows app. Any Ideas what is cause of the problem here.Thanks.```Application: MyApp.exeFramework Version: v4.0.30319Description: The process was terminated due to an...
View ArticleNew Post: Error: The underlying connection was closed: An unexpected error...
Hello. First, sorry beause my Eng not good. I try using ssh.net library connect and login to my websiteusing (var client = new SshClient(hostOrIP, userName, password)) { client.Connect(); var port1 =...
View ArticleNew Post: SftpPathNotFound - Creating directory then uploading file
I have the following issue where I create directory to the client I want to upload files (windows host/linux guest) then proceed to upload the file and it returns a SftPathNotFoundException. Only if I...
View ArticleNew Post: Cannot ReadAllText or ReadAllByte. can download
I call ReadAllText, ReadAllLines or ReadAllBytes alway fail. I only can download file and save to local is ok.. The error occur at internal SftpFileStream (ISftpSession session, string path, FileMode...
View ArticleNew 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 ArticleCommented Unassigned: Pageant (PuTTY) Integration [2727]
First thank you for a great C# SSH library.In my limited understanding using Pageant requires the SSH code to call out to Pageant and ask it to calculate security hash(es).Could this be implemented to...
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 ArticleCommented Unassigned: Sftpclient.Disconnect takes very long time [2738]
The following code takes over two minutes to execute. It gets stuck on Disconnect(). I am trying to connect to TITAN commercial FTP Server. SftpClient client = new SftpClient(sAddress, iPort, sUserID,...
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 Article