Add ssh-key of Elios

This commit is contained in:
Paul-Henri Froidmont 2023-10-17 22:36:27 +02:00
parent 864c0f130e
commit e732cc98bf
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,10 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "prohibit-password"; services.openssh.settings.PermitRootLogin = "prohibit-password";
users.users.root.openssh.authorizedKeys.keyFiles = users.users.root.openssh.authorizedKeys.keyFiles = [
[ ../ssh_keys/froidmpa-desktop.pub ../ssh_keys/froidmpa-laptop.pub ]; ../ssh_keys/froidmpa-desktop.pub
../ssh_keys/froidmpa-laptop.pub
../ssh_keys/elios-desktop.pub
];
}; };
} }

View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOu5tLop+R57tGmse3P7sf5GoYNDNUs9d/970bkNoOcZ elios4592@DESKTOP-5HMNEDS-2023-10-17