xcat-core icon indicating copy to clipboard operation
xcat-core copied to clipboard

Change private key permissions to 600

Open nealep opened this issue 4 years ago • 6 comments

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

nealep avatar Sep 21 '20 20:09 nealep