Implemented

Cannot use PuTTY SSH key

avatar

Hi! I am using RDM Free 2021.1.40.0 on Windows 10 and it works fine for RDP and for SSH connections where I can log in with username and password.
But I cannot get it to establish a SSH connection with my private key file.
In PuTTY I enter my username and the path to the private key file in the connection details and can connect with a single click on "Open".
In RDM I always get asked for a password. I cannot get it to use the key file.

After fiddling around in the advanced I somehow got RDM to show me the messages it's receiving and the problem is
"Unknown file type: PuTTY-User-Key-File-3: ssh-rsa":
forum image

This is, er, disappointing. How should a key file be formatted for RDM to accept it?

All Comments (18)

avatar

Hello,

Thanks for bringing this to our attention. It seems that since we originally added support for PuTTY private key formats, there has since been a new version of this format that we don't support, which is why you are getting this behavior. I've opened a ticket so we can add support for this new format.

As a workaround, you could generate a key in OpenSSH format, which we fully support, if it's a possibility for you.

Regards,

Hubert Mireault

avatar

Thank you very much.
I have converted my key to OpenSSH using PuttyGen and it works ... kinda:
forum image
Do you have an idea why the connection doesn't establish successfully?

avatar

From what I can tell, the connection is successfully established. I think you're using the SSH Tunnel entry instead of the SSH Shell entry. The Shell entry is what you're looking for to have a terminal like PuTTY.

Regards,

Hubert Mireault

avatar

Hello,

I wanted to add, we will be supporting the usage of PPK3 format private keys in RDM 2021.2, releasing this autumn.

Regards,

Hubert Mireault

avatar

Thank you, I can wait until then.

avatar

Hi Hubert,

i have to use this thread to not open an new one.

we have similar Problem.

We are using Keyfiles for our Putty connections.
At the moment we are storing this keyfiles on an Networkshare and using Putty with paramater -i

We cant use the internal Putty/SSH Rebex cause we need more functions which are not integrated in the internal "Putty"

Is there a possibilty to store the Keyfiles at RDM and still using Putty?
Cause we get an error when we are doing the following:

forum image
forum image

So the Question:

Is it possible to store Keyfiles at RDM and using putty somehow?

avatar

Hello,

Unfortunately I'm not sure if this is supported in our PuTTY integration. Can you tell us what we don't support in our SSH Shell entry so that we can add it? The PuTTY integration has been deprecated for a while and we are focusing our efforts on our own terminal integration.

Regards,

Hubert Mireault

avatar

Hi Hubert,

i asked the colleagues and this are the functions they need


  • Type size in the session (on the fly in the running session)
  • Change background and type color in the session (on the fly in the running session)
  • Open a scp session to the connected server
  • Logging to a drive
  • Copying files to the server (prefered drag and drop to the session)
  • Using x forwarding through the session
  • Duplicate sessions


avatar

Hello,

Thanks for the details! We already support some of these so let me go in order:


- Type size in the session (on the fly in the running session)
If you mean the font size, indeed we can't change it on the fly, but it is configurable in File > Options > Type > Terminal if your user wants something different from the default. I've opened a ticket for being able to change it while a connection is opened.

- Change background and type color in the session (on the fly in the running session)
As with the font size, this is configurable in the options but we can't change it on the fly. I've opened a ticket for this.

- Open a scp session to the connected server
We have the functionality to open an SFTP alongside the shell, let me know if this can work for you or if you specifically require SCP:
forum image

- Logging to a drive
This can already be configured in the SSH Shell entry:
forum image

- Copying files to the server (prefered drag and drop to the session)
With the SFTP mode mentionned previously, this can be accomplished as you will see your local files as well as the remote files. Drag&Drop is enabled as well.

- Using x forwarding through the session
This can already be configured in the SSH Shell entry:
forum image

- Duplicate sessions
Assuming you mean opening a new tab connected to the same host, this can already be achieved if you right click the tab > duplicate connection:
forum image



If I've misunderstood any of the functionalities you and your team require, let me know and I would be happy to open additional tickets if needed, or provide other solutions to achieve what you want. We will also update this thread once we have progress on the tickets.

Regards,

Hubert Mireault

avatar

Hi Hubert,

thanks for the update.

we used Putty SSH Rebex and not SSH Shell. So the colleagues are testing now and i will post a feedback tomorrow

Regards
Dieter

avatar

Hi Hubert, this is what a got from the colleagues,

All the features
you described work fine for us. One addition to changing font size and session
colors. For us it would be important, that you don’t need any rights to edit
the connection entry to change the color of the session.
Additional buttons
in the window would work great for us:





Btw: some features
only work when the window is docked and not undocked? Is there a technical
background for this?

rdmssh.png

avatar

Hello,

Glad to know that a lot of this works well for you and your team!

As for the "on the fly" changing of the font and size, I was also thinking of adding additional buttons there. This will not require any "edit" permission on the entry itself, so no worry regarding that.
One thing to keep in mind though is that this change will not be saved, so if they close the entry, they will have to change the colors again next time they open it. If they want to have a default set of colors they will need to configure them in File>Options>Types>Terminal>Colors as mentioned previously.

As for certain features not working in undocked, this isn't the expected behavior. For feature availability, the embedded and undocked mode are basically the same thing. Could you let me know what features aren't working properly in undocked mode, we will take a look as it's most likely a bug.

Regards,

Hubert Mireault

avatar

Hey Hubert, i can recreate the "bug"

if you use the Settings undocked and open the session its an undocked session without the possibility to right click

forum image
it then looks like this

forum image

instead of this

forum image

avatar

I see what you mean, unfortunately this is intended. But what you could do instead of configuring the entry to be in undocked mode, you could configure it embedded, and then drag out the tab. This will give you a separate window like this:
forum image

This method of "undocking" entries allows you to have multiple entries in the same undocked windows too, and they keep the "tab" that allows you to have the additional actions in the context menu.

Regards,

Hubert Mireault

avatar

Hi Hubert,

thanks. Yeah i already told the colleagues that its an layer 8 Problem =)

avatar

No problem, glad this workaround is fine for you. We'll update this thread once we make progress on the ticket for the color+size changes.

Regards,

Hubert Mireault

avatar

Hi Hubert,

are there any news?

avatar

Hello,

The feature for changing font+colors of a terminal while the entry is running should be available in our latest release of RDM 2022.1, which is currently available for download on our website.

Regards,

Hubert Mireault