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

New Post: Stable release of 2014.4.6-beta2


New Post: Key exchange problems with VShell (no appropriate prime between 1024 and 1024)

New Post: Disconnect error

Closed Unassigned: Event handle leak in 2014.4.6-beta2 [2730]

$
0
0
Still seeing a serious event handle leak with this library. Especially pronounced when downloading tens of files from dozens of servers.
I saw that an event handle leak was dealt with in this version but looks like not completely eradicated.
Comments: I've released a new beta of SSH.NET today:
[https://github.com/sshnet/SSH.NET/releases/tag/2016.0.0-beta1]

The prelease NuGet package is available [here](https://www.nuget.org/packages/SSH.NET/2016.0.0-beta1).

Don't hesitate to open an issue at our new [home](https://github.com/sshnet/SSH.NET) if you can still reproduce this issue.

New Post: SftpClient never comes back in Connect

$
0
0
I don't think it is timeout, I have tried waiting for 5 minutes, and it does not come back.

I added the source code and debug information, and I see now that it is failing in Renci.SshNet.Session.ReceiveMessage "Bad packet length"
The packet length showing is 101534273
which does not fit in the min/max packet size (minPacketLen=12 maxPacketLen=68532)

if ((packetLength < minPacketLen) || (packetLength > maxPacketLen))
            {
                throw new SshConnectionException(string.Format(CultureInfo.CurrentCulture, "Bad packet length {0}", packetLength), DisconnectReason.ProtocolError);
         }


Released: 2016.0.0-beta1 (Jun 20, 2016)

Created Release: 2016.0.0-beta1 (jun 20, 2016)

New Post: SftpClient never comes back in Connect

$
0
0
Hi Cecilia,

What version of SSH.NET are you using ?
Would it possible to try the recently release 2016.0.0-beta1 ?

Thanks!
Gert

New Post: Causes of "Server response does not contain SSH protocol identification"

$
0
0
Hi Philippe,

What version of SSH.NET are you using ?
Would it possible to try the recently release 2016.0.0-beta1 ?
What SSH server (and which version) are you using ?

Thanks!
Gert

New Post: Causes of "Server response does not contain SSH protocol identification"

$
0
0

Sorry I was out of the office.

I downloaded the source code. Where can I see the release #?

New Post: Causes of "Server response does not contain SSH protocol identification"

$
0
0
Where did you download the sources code from ?
Can't you just use the 2016.0.0-beta1 or 2016.0.0-beta2 nuget packages ?

New Post: Causes of "Server response does not contain SSH protocol identification"

$
0
0

Thank you for responding.

Following the instructions to get the latest source code, shown below, I clicked on source code, download..

Which took me to this download:

Created Unassigned: stty: standard input: Invalid argument [2803]

$
0
0
Hi SSH.NET team,

Thanks for providing such a good library. I'm having an issue (shown as title) when trying to use ssh.RunCommand() function to execute a command on a remote linux. Has anyone else come across this problem and fixed it? Thanks! ! !

New Post: Slow upload speeds

$
0
0
Good day!

Is this issue already fixed? Just want to know because I'm currently using it right now and still experiencing slow upload speeds.

Thanks in advance!

Cheers,

New Post: Cannot use RSA key generated by PuTTYgen

$
0
0
Hi,

I've been trying to use RSA keys generated by PuTTYgen using the (default) "SSH 2 (RSA)" option instead of the keys I was previously generating using MKS Toolkit's ssh-keygen.

With the keys generated with PuTTYgen I get:

Invalid data type, INTEGER(02) is expected.

when creating an instance of SshClient (the PowerShell Posh-SSH module does this for me when I invoke New-SSHSession)

I expect it's possible to use keys generated by PuTTYgen, so what I am doing wrong?

Thanks in advance for your help.

New Post: Compatibility issues between SSH.NET and dropbear?

$
0
0
I'm using SSH.NET version 2013.4.7. My program need to connect to an SSH server, authenticate using a key, and upload a file.

The destination of the file is an embedded ARM system running dropbear v2014.63. Every single time, the transfer uploads exactly 23019520 bytes and stalls. Eventually, SSH.NET comes back with "Session operation has timed out."

If I have my program connect to Ubuntu running OpenSSH, the file transfers fine. If I use OpenSSH's scp to copy the file to my ARM server, it works fine. If I use Filezilla to transfer to my ARM server, it works fine. This is all using the same key and same file.

Any ideas?

New Post: Control Chars - CTRL-V and CTRL-E

$
0
0
I'm able to successfully connect to and run commands on my server. The problem that I'm running in to now, is that I cannot figure out how to send control characters. To successfully logout of the servers that I'm connecting to using SSH.NET, i have to use CTRL-V and CTRL-E. I have to connect through a 3rd party connection platform first, which requires these control characters to exit properly. Does anybody have any insight as to how I can accomplish this?

New Post: SSH establish connect + through proxy socks5

$
0
0
Hello,

I have this code:
private void Connect()
        {
            if (client == null)
            {
                client = new SshClient("myproxy.net", txtUser.Text, txtPassword.Text);
                client.KeepAliveInterval = new TimeSpan(0, 0, 20);
                client.ConnectionInfo.Timeout = new TimeSpan(0, 0, 20);

                ActiveConnection();
            }
            else if (!client.IsConnected)
            {
                ActiveConnection();
            }
        }

        private void ActiveConnection()
        {
            client.Connect();
            ForwardedPortDynamic port = new ForwardedPortDynamic(20140);
            client.AddForwardedPort(port);
            port.Start();
        }
And i use Proxifier to pass all package using socks5 of an application windows from port 20140 to my server ubuntu, but some times dont works correctly, this config on my code are correct? When i using the Putty, i have no problem.

Log on connect Proxifier:
[07.14 20:55:12] Client_tos.exe - 52.200.186.80:7215 open through proxy 127.0.0.1:20140 SOCKS5

I can replace Proxifier for any code from SSH.NET Library?

Thanks a lot.

Reviewed: 2016.0.0-beta1 (Jul 16, 2016)

$
0
0
Rated 4 Stars (out of 5) - excellent app

Created Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Viewing all 2955 articles
Browse latest View live


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