forked from mirrors/nixpkgs
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 a new issue