mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: update sshd config to follow upstream renames
This commit is contained in:
parent
564907d987
commit
fa8c14607c
1 changed files with 5 additions and 3 deletions
|
@ -2,9 +2,11 @@
|
||||||
services.sshd.enable = true;
|
services.sshd.enable = true;
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = false;
|
settings = {
|
||||||
kbdInteractiveAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
permitRootLogin = "yes";
|
KbdInteractiveAuthentication = false;
|
||||||
|
PermitRootLogin = "yes";
|
||||||
|
};
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
{
|
{
|
||||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue