How to change PSM-SSH default Algorithm selection policy configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
4 min read
L4 Transporter
No ratings
How to change the default Algorithm selection policy configuration on PSM-SSH so it won't warn user that  Diffie_hellman gorup 1 is used ? 

rendition=THUMB720BY480&versionId=0682J000008zMQ6&operationContext=CHATTER&contentId=05T2J00000YH2ym&page=0.jpg
 

Issue

Dear Madam/Sir, Now that I’m allowed to create case tickets, I resend this problem : We use Idira almost exclusively for SSH sessions and to improve the comfort of our users, we would like to change the PUTTY settings and hide the warning about the use of the Diffie Helleman key group. While looking for a solution, I found this post on the community forum but the exact answer is not there. https://cyberark-customers.force.com/s/question/0D52J00007SALD4SAP/its-possible-to-change-the-default-configuration-on-putty-psm-and-how-to-i-dont-want-putty-to-warn-me-that-diffiehellman-group-1-is-used I also look in the direction pointed by @ssiegl (CyberArk)​ but even with the hive loaded, I wasn’t able to find any key containing “dh-group1-sha1” like Putty does on my own computer in SimonTatham/Sessions/Default%20Settings/KEX Could you tell me how to do that? You can answer on the community's post so that it benefits everyone. Best regards, Maxime MSc. Ing. Maxime Parentani GSM : +32-490-144370 Teammember I-ICT.134 Digital Network Services [3A944DD2] Ringstation II, bloc B Rue des deux gares, 82. / Tweestationsstraat, 82. B-1070 Bruxelles / B-1070 Brussel [email protected] | https://urldefense.proofpoint.com/v2/url?u=http-3A__www.infrabel.be&d=DwIGaQ&c=E55fojPA83XrPGfndbiaQQ&r=zryWrXAalt0BJrTNyldbfAE8rLkBecokc1oGgm1J4jY&m=vBb-mHGaTgkxBrSum7dWyvG3oyViMF9TtJZzvI6RpYU&s=lUDjJGnjvl4FWEGA_LhteMqCZbPXdm9mDd3fUSle-40&e= P Please consider your environmental responsibility before printing this e-mail

Environment

PSM Networking & Connectivity

Steps

1. import  the default PuTTy Session settings if it has not been imported before.
   You can skip this section if default Putty Session settings has been imported to PSM previously.

  a. On the PSM Server or any machine that has a Putty installed. Launch Registry editor by running "regedit" from command prompt
  b. Export HKEY_CURRENT_USER\SOFTWARE\SimonTatham\PuTTY\Sessions\Default%20Settings
  save as a file. For example: DefaultPuTTy.reg
  c. Edit the .reg file, update the key location to [HKEY_USERS\DefaultPuTTy\Software\SimonTatham\PuTTY\Sessions\Default%20Settings]
  d. copy the registry file to PSM server.
  e. Backup the registry of the PSM Server.
  f. Launch Registry Editor on PSM server and load a new hive that points to the default user's NTUSER.DAT by selecting HKEY_USERS then in the File menu the option Load Hive. Browse to and open C:\Users\Default\NTUSER.DAT (You may not be able to see NTUSER.DAT in the folder. Simply type into the filename box from C:\Users\Default and select Open)
  g. Name the new hive DefaultPuTTy. The name DefaultPuTTy should be used as it is referring to a name in the exported reg file done previously.
  h. Merge (or run) the attached DefaultPuTTy.reg file that was created as per the instructions above. The simplest way is by double clicking on the DefaultPuTTy.reg file.
  i. You will now see in the DefaultPuTTy hive in RegEdit and new keys in ~/Software/SimonTatham/PuTTY/Default%20Settings.
  j. Select the hive name under HKEY_Users then unload it by selecting from the File menu the option Unload Hive.
  
 2. Change default Algorithm selection policy configuration using registry editor
 
  a. On PSM server , launch registry editor
  b. Open the Microsoft Windows Registry Editor and load a new hive that points to the default user's NTUSER.DAT by selecting HKEY_USERS then in the File menu the option Load Hive. Browse to and open C:\Users\Default\NTUSER.DAT
  c. Open HKEY_USERS\DefaultPuTTy\Software\SimonTatham\PuTTY\Sessions\Default%20Settings. 
  d. The algorithm select order is from left to right , under KEX key.
  e. The default valut is ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1. the WARN represents the "warn below here" line from Putty interface.
  f. If user wants to mute Putty Security Alert on key-exchange algorithm completely. It can be updated to ecdh,dh-gex-sha1,dh-group14-sha1,rsa,dh-group1-sha1,WARN
  g. Select the hive name under HKEY_Users then unload it by selecting from the File menu the option Unload Hive. You will see the DefaultPuTTy hive is gone. The changes are applied to the NTUSER.DAT file so new profiles will use the settings.
 
 3. Remove all ShadowUser profile before a new connection test
 
 a. Press Windows key+R to Open the Run dialog box.
 b. Type lusrmgr.msc and hit enter.
 c.  Delete all entries with PSM- and followed by numbers. Do not delete PSMConnect and PSMAdminConnect accounts.
 d.  Now we can try the PSM-SSH connection. The new settings will be inherited.
 
Rate this article:
  • 4721 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 11:57 AM
Updated by: