mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add ssh-key of Elios
This commit is contained in:
parent
864c0f130e
commit
e732cc98bf
2 changed files with 6 additions and 2 deletions
|
|
@ -7,7 +7,10 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = "prohibit-password";
|
||||
users.users.root.openssh.authorizedKeys.keyFiles =
|
||||
[ ../ssh_keys/froidmpa-desktop.pub ../ssh_keys/froidmpa-laptop.pub ];
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||
../ssh_keys/froidmpa-desktop.pub
|
||||
../ssh_keys/froidmpa-laptop.pub
|
||||
../ssh_keys/elios-desktop.pub
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
1
ssh_keys/elios-desktop.pub
Normal file
1
ssh_keys/elios-desktop.pub
Normal file
|
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOu5tLop+R57tGmse3P7sf5GoYNDNUs9d/970bkNoOcZ elios4592@DESKTOP-5HMNEDS-2023-10-17
|
||||
Loading…
Add table
Add a link
Reference in a new issue