feat: clean up /etc/skel and move ssh key to /etc/ssh/authorized_keys/

This commit is contained in:
Justin Lin committed 2024-10-14 17:48:05 +08:00
1 parent 31301419ad
commit 58354b7cd8
3 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ Include /etc/ssh/sshd_config.d/*.conf
PubkeyAuthentication yes
# Expect .ssh/authorized_keys2 to be disregarded by default in future.
#AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
AuthorizedKeysFile /etc/ssh/authorized_keys/%u
#AuthorizedPrincipalsFile none