Merge branch 'main' of github.com:philip-peterson/petersweb-infra
This commit is contained in:
commit
706b2ec2a1
1 changed files with 2 additions and 1 deletions
|
|
@ -18,11 +18,12 @@
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = true;
|
settings.PasswordAuthentication = true;
|
||||||
settings.UsePAM = true;
|
settings.UsePAM = false;
|
||||||
settings.PermitRootLogin = "yes";
|
settings.PermitRootLogin = "yes";
|
||||||
settings.AllowUsers = [ "root" ];
|
settings.AllowUsers = [ "root" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
PrintLastLog no
|
PrintLastLog no
|
||||||
|
UsePAM no
|
||||||
'';
|
'';
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue