feat: only serve the ed25519 ssh key
This commit is contained in:
parent
04fc08e3a0
commit
e7e8d154aa
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
settings.PermitRootLogin = "prohibit-password";
|
settings.PermitRootLogin = "prohibit-password";
|
||||||
|
hostKeys = [{
|
||||||
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
|
type = "ed25519";
|
||||||
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fail2ban
|
# Fail2ban
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue