2023-04-09 13:47:03 +01:00
|
|
|
{ config, ... }:
|
2023-03-09 08:33:38 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2023-04-09 13:47:03 +01:00
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
|
|
};
|
2023-03-09 08:33:38 +00:00
|
|
|
};
|
|
|
|
programs.ssh.hostKeyAlgorithms = [ "sk-ssh-ed25519@openssh.com" "ssh-ed25519" ];
|
|
|
|
}
|