mirror of
https://github.com/m8tin/cis.git
synced 2025-12-06 07:48:26 +01:00
normalized ssh key comments
This commit is contained in:
@@ -33,7 +33,7 @@ function prepareThisHost() {
|
||||
ssh-keygen \
|
||||
-t ed25519 \
|
||||
-f "/root/.ssh/id_ed25519" -q -N "" \
|
||||
-C "$(date +%Y%m%d):root@$(hostname -b)"
|
||||
-C "$(date +%Y%m%d)-root@$(hostname -b)"
|
||||
|
||||
cat "/root/.ssh/id_ed25519.pub" \
|
||||
&& return 0
|
||||
|
||||
Reference in New Issue
Block a user