Author Topic: TmoleX 22 and putty  (Read 6035 times)

KrisR

  • Jr. Member
  • **
  • Posts: 19
  • Karma: +0/-0
TmoleX 22 and putty
« on: January 10, 2023, 01:36:51 PM »
It's a request | bug | feature that would be necessary very soon for windows version of TmoleX.

When one uses newish putty-keygen (I've tried 0.71, 0.76 and 0.78) and uses any of newer encryptions (f.e. ecdsa-nistp256 or ed25519) one gets one of two errors on click on [Check password settings] in Remote Systems-dialog:
- putty key format too new
- file format error

Whole dialog looks like this:

The password was empty or it wasn't correct.
Please try again.
Unable to load private key file "C:\...some...path...\file.ppk" (HERE COMES ONE OF ABOVE ERROR-MSGs)
Access denied.


If I roll down the putty-keygen to archaic version 0.67 (from 2016!) and use as archaic RSA it works (it does not work for 0.76 and RSA -- putty key format too new).
The trouble is, that the newer RedHat-alike systems are not allowing to use RSA for login anymore. It means soon it will be not possible to login submit TmoleX job to remote cluster.

Plz do something about it,
Kris

uwe

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 570
  • Karma: +0/-0
Re: TmoleX 22 and putty
« Reply #1 on: January 10, 2023, 10:58:53 PM »
Hi Kris,

if you go to the extapps\putty folder in your TmoleX installation directory (e.g. C:\Program Files\TmoleX2023\extapps\putty), you will find the two putty binaries:

pscp.exe
pssh.exe

That's what TmoleX is using to copy files to and from a remote machine (pscp.exe) and to start the Turbomole jobs (pssh.exe).

If you want to (or need to) replace the putty version that comes with TmoleX, just replace those two files with a putty version that works for you on your system.
Note that pssh.exe is identical to plink.exe, so just copy your plink.exe to that directory and rename it to pssh.exe

Hope that helps



KrisR

  • Jr. Member
  • **
  • Posts: 19
  • Karma: +0/-0
Re: TmoleX 22 and putty
« Reply #2 on: January 12, 2023, 05:11:55 PM »
I forgot about this one. I had once to replace these programs but I think it was on linux.
I'll try next week if replacing of them is enough or if something is coded into TmoleX.

thnx