Add support for 'openssh-config' in RDM when using pageant

Add support for 'openssh-config' in RDM when using pageant

avatar

Hello,

within RDM every connection has the possibility to check "Use SSH authentication agent" and it uses the keys of pageant just fine.

But when you open a shell outside of RDM and call ssh <ip>, which uses openssh under the hood, no key from the RDM pageant instance is used.

I tried starting the RDM OpenSSH key agent, instead of pageant, but nothing is shown expect:
2024-04-11 11_37_25-Remote Desktop Manager

And No, i do not have any other SSH key agent running and have OpenSSH client (OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2) correct installed.

There is a option on the command line of pageant to define a --openssh-config file, which then can be used by openssh, but i could not find a way to define the command line arg inside RDM.

Best regards
~

2024-04-11 11_37_25-Remote Desktop Manager.png

All Comments (2)

avatar

I got the RDM key agent in mode OpenSSH running - but the error message (from above) is misleading!

  • First, i had the "OpenSSH Authentication Agent" Windows Service disabled. I expected a error message telling me exactly this.
  • Second, setting the Startup Type to "Manual" is not enough, the service must run before you press the "Start Agent" Button inside RDM. Why not start the service if it is not running or at least tell the user to start it? The button "Start Agent" in fact does not start any service, it just seems to add the keys to the already running OpenSSH Service.


I had appreciated better error messages.

After testing both agent modes i can say:

  • If RDM agent uses OpenSSH, you are able to connect via ssh <ip> but not using putty
  • If RDM agent uses pageant, you are able to connect via putty but not using ssh <ip>


Could you please add a option like "Share keys of pageant with openssh instances" in RDM which defines a --openssh-config file which we then can add in our .ssh\config file (ref)? That's the only way to get both external ssh impls running, openssh and putty.

avatar

Hello Chris,

Thank you for reaching out to us regarding this,

I see, I will discuss this with our development team to see if this is something that could be added or if this message can be improved.

I will keep you updated with any news I receive,

Best regards,

Samuel Dery