Kitty and unknown option -pwfile

Implemented

Kitty and unknown option -pwfile

avatar

Hello everyone,

I am using Kitty client for SSH calls with Remote Desktop Manager (RDM),
which does a few extra things compared to the more well-known Putty.
After upgrading RDM from version 2023.2.9 to version 2023.2.14 I get an error message:

Unknown option: -pwfile...

I'm looking at the release notes here:
https://devolutions.net/remote-desktop-manager/release-notes/free/
and for version 2023.2.11 I see this entry:
Improved Putty integration with a more secure way to provide the password to the command line
Oh, you changed the password passing via file using the -pwfile parameter, right?

But this parameter was introduced in Putty in version 0.77,
see here: https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
but Kitty is so far only ported from version 0.76,
so Kitty doesn't support the -pwfile parameter yet.

Switching the use of Putty to Kitty in RDM does not solve the problem,
obviously you use this method for both applications equally.

Please, would it be possible to implement the original (previous) password passing method for Kitty?
Or would it be possible to specify somewhere in the configuration,
which password passing method (old or new via -pwfile) should be used?

Thank you.

P.S..
Sorry for my bad English.

All Comments (6)

avatar

Hello,

Thank you for informing us of this issue. We created a ticket for this internally and will keep you updated on the progress.

Best Regards,

Michaël Beaudin

avatar

Hello,

The fix to the issue linked to the "-pwfile" argument when using Kitty will be available in the next minor version (2023.2.15). Thank you for your feedback.

Regards,

Nathan Beauregard

avatar

Hello Nathan,

I use RDM v2023.2.33.0 with kitty v0.76.1.13.

Option >> Types >> PuTTY == KITTY

Path ist konfigured as followed

C:\Program Files\PuTTY

executable file: kitty.exe (portable version)

On starting a session I get the error: "Unknown option: -pwfile"

So I think, the problem is not resolved!

Regards

Frank

avatar

Hello,

Could you check in your entry what the configured application is? By default, it's putty, so even if you change the default value in File > Options, it will not affect your entries unless you configured them with the "Default" application.


I looked at the code, and the "pwfile" parameter should only be used if the application used is putty.

Regards,

Hubert Mireault

7cc02c2c-cc1c-49e2-bcbc-1abfa4818e43.png

avatar

oops, I didn't even think about that, thanks!

Best Regards

Frank

avatar

Glad to hear this works for you. Let us know if you encounter any other issues.

Regards,

Hubert Mireault