This commit is contained in:
albert 2024-03-15 13:25:48 +09:00
parent c95490f0d9
commit 287c5e2fd6
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -26,7 +26,7 @@
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKp2wgqFcr0LGaUXbom88/zK2631pysePUWIaCMljT0K root@backups-rpi4'' ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKp2wgqFcr0LGaUXbom88/zK2631pysePUWIaCMljT0K root@backups-rpi4''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKkNFdEcYIrjss1Nz0tU/AX89hUMmxB/Vabvsa7A6E2K root@osaka-linode-01'' ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKkNFdEcYIrjss1Nz0tU/AX89hUMmxB/Vabvsa7A6E2K root@osaka-linode-01''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP+2U8v5tbr95zp8d1uujrkVhIo8lEMWzcFILNKo6Oq1 root@milan-linode-01'' ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJsGufD7NIjmcb/gzGItcvExHNtfoopD4En/2xhYMBU1 root@milan-linode-01''
]; ];
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password"; services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";