CyberArk-PowerTools
CyberArk-PowerTools copied to clipboard
Remove Pub Keys from ShadowUsers ntuser.dat on PSMs
Many of our linux servers are getting re-keyed causing the public key which is stored on the PSM-ShadowUsers ntuser.dat to differ from what the new public key is. CyberArk doesn't have a supported method for deleting public keys from /SOFTWARE/SimonTatham/PuTTy/SshHostKeys for each user. Their recommendation is to load each PSM ShadowUser's hive, and remove the keys manually.. for each PSM shadow user on each PSM. this method would take over 100 hours. do you have a powershell script that can do this?