xcat-core
xcat-core copied to clipboard
Change private key permissions to 600
The PR is to fix issue https://github.com/xcat2/xcat-core/issues/6832
Some versions of OpenSSH will not load private keys with permissive permissions. Setting permission to 600 allows OpenSSH to start and load the created private keys and avoid some downstream errors during postbootscript sequences.
The modification include
- postscripts/remoteshell - changes the permissions of private keys from 640 to 600