Mremoteng: Replace PuTTY with SSH.NET

Created on 19 Oct 2016  Â·  14Comments  Â·  Source: mRemoteNG/mRemoteNG

Replace PuTTY with SSH.NET

Enhancement Help Wanted Medium Priority Ready

Most helpful comment

auto-copy and the right-click paste is priceless

All 14 comments

Just curious, what are the major advantages of SSH.NET over PuTTY?

no idea.. but maybe better Linux support?

There are a few reasons we've been looking into replacing PuTTY as the default ssh/etc client:

  • Tighter integration. We currently spawn a new PuTTY process off of mRemoteNG. It's essentially acting like any other external program you can define, just with a little more built-in support.
  • Better security. Because PuTTY is called as an external program, we have to pass host/username/and password data to it in clear text over the command line.
  • Better customization. Since SSH.Net is a library, we can control every minute aspect of the connection that it establishes and how it is displayed to the user.
  • As @jumoog said, this also allows for better Linux support. SSH.Net is written in .Net Core which runs on Linux. Removing the PuTTY requirement is a good step toward cross platform support.

For those that still like PuTTY, we will be keeping it around as an option for handling ssh/telnet/RAW/etc. However, it will not be the default for new installations.

Even if we chose to use SSH.NET, would the app still be able to leverage the PuTTY registry path to load those saved connections, or would ssh connections be stored in some other way?

Yea, we could still load and use putty session info from the registry. It probably wouldnt be the primary way of saving ssh connection records though

@sparerd thanx for taking the time to explain. All these seem pretty solid reasons as to why the change. It's just that with the change, I'm not sure whether certain features that I'm used to from PuTTY would still be available (silly things like the selection auto-copy and the right-click paste). That's all.

auto-copy and the right-click paste is priceless

Just my two cents. The following bug on JIRA was pointed to this Github bug:
https://mremoteng.atlassian.net/browse/MR-883

This is all great feedback. We wont be replacing putty right away, there
will be plenty of time to make sure the native ssh client has the right
features

On Oct 22, 2016 2:59 AM, "Kilian von Pflugk" [email protected]
wrote:

auto-copy and the right-click paste is priceless

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mRemoteNG/mRemoteNG/issues/181#issuecomment-255516316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGrNlozDoee22L_5wQpiR7C33ZYgFXDHks5q2dBWgaJpZM4Kae5c
.

must be compatible with peagent protocol for key forwarding, and then can be used with pageant or alternative like keepass with keeagent....

but you need to implement also terminal emulation... ssh.net is only ssh protocol implementation...

you need .net library that implemente xterm/vt220/linux terminal emulation...

i've found this one, https://github.com/poderosaproject/poderosa

@mcarbonneaux

Thanks for the additional info. This is largely just a place holder at this time. We don't have any solid time frame as to when this could be implemented and due to various other factors, its unlikely that PuTTYNG will be removed (it just wouldn't be the default most likely).

@kmscode Just took a bit to read on SSH.NET, and it doesn't seem to support SSHv1, which PuTTY does. Any plan on that?

@pedro2555 the plan would be to keep PuTTY for things not supported by SSH.NET, but make SSH.NET the default for SSH2.

Put in 2.0 for long term usage. This would require multi clients for protocol so mRemoteNG can mix internal and external clients.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

seth-c-stenzel picture seth-c-stenzel  Â·  4Comments

MarkoMusa picture MarkoMusa  Â·  4Comments

kmscode picture kmscode  Â·  5Comments

sparerd picture sparerd  Â·  3Comments

iron51 picture iron51  Â·  3Comments