global(sshd): allowlist 2 used pubkey algos

Changed files
+3 -2
global
programs
+3 -2
global/programs/ssh.nix
···
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
+
PubkeyAcceptedAlgorithms = "sk-ssh-ed25519@openssh.com,ssh-ed25519";
};
-
# TODO: disable banner for service users like forgejo
+
banner = ''
-----BEGIN BANNER-----
# Welcome to ${config.system.name}
···
programs.ssh = {
startAgent = true;
-
pubkeyAcceptedKeyTypes = ["ssh-ed25519"];
+
pubkeyAcceptedKeyTypes = ["ssh-ed25519" "sk-ssh-ed25519@openssh.com"];
enableAskPassword = true;
extraConfig = ''