How to change PSM-SSH default Algorithm selection policy configuration

How to change PSM-SSH default Algorithm selection policy configuration

89
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 15:52 PM


Objective


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 ? 

Putty
 


Environment


10.10;11.1;11;11.2 Privileged Access Manager (PAM, self-hosted) PSM

Procedure


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.
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000oxhCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail