Quantcast
Channel: SSH.NET Library
Browsing all 2955 articles
Browse latest View live
↧

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 Article


Created 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 Article


Commented 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 Article

New 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 Article

Commented 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 Article


Commented 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 Article

New 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 Article

New 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 Article


New 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 Article


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 Article

New 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 Article

New Post: Is this project officially dead?

There's been no stable release since 2013...

View Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

Commented 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 Article


New 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 Article

Commented 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 Article

New 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
Browsing all 2955 articles
Browse latest View live


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