mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-29 07:10:51 +01:00
Ssh certificates, got to clean that
This commit is contained in:
parent
f035cb42b0
commit
152415a0bb
1 changed files with 7 additions and 0 deletions
|
@ -111,6 +111,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.openssh.extraConfig = ''
|
||||
HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
TrustedUserCAKeys /etc/ssh/ssh_user_key.pub
|
||||
MaxAuthTries 20
|
||||
'';
|
||||
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 51821 ];
|
||||
networking.firewall.allowedUDPPorts = [ 51821 ];
|
||||
|
|
Loading…
Add table
Reference in a new issue