update ssh
This commit is contained in:
parent
403f2b8963
commit
75aff2610c
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
|||
{
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
users.users.leonv.openssh.authorizedKeys.keys = [
|
||||
"${../../nix-secrets/dafoe/ssh/gunther}"
|
||||
"${../../nix-secrets/dafoe/ssh/absol}"
|
||||
];
|
||||
# Enable fail2ban to make ssh more secure
|
||||
services.fail2ban.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue