mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
sshd: Always start a session
Partially reverts 70a4c7b1df
. Whether to
start a session is independent of whether we're running in a
container.
This commit is contained in:
parent
b4afe5b7bc
commit
baffee02b8
@ -284,7 +284,7 @@ in
|
||||
networking.firewall.allowedTCPPorts = cfg.ports;
|
||||
|
||||
security.pam.services.sshd =
|
||||
{ startSession = !config.boot.isContainer;
|
||||
{ startSession = true;
|
||||
showMotd = true;
|
||||
unixAuth = cfg.passwordAuthentication;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user