1
Fork 0

Allow root login (scary) for lapetus deployment

This commit is contained in:
prescientmoon 2024-11-09 12:46:49 +01:00
parent 0c6aff0470
commit dbfc61a2a2
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U

View file

@ -67,6 +67,8 @@
../tethys/keys/id_ed25519.pub ../tethys/keys/id_ed25519.pub
]; ];
# Trying this out for deployment, although it's a bit scary
services.openssh.settings.PermitRootLogin = "yes";
users.users.root.openssh.authorizedKeys.keyFiles = users.users.root.openssh.authorizedKeys.keyFiles =
config.users.users.pilot.openssh.authorizedKeys.keyFiles; config.users.users.pilot.openssh.authorizedKeys.keyFiles;
# }}} # }}}