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:
Eelco Dolstra 2014-04-22 15:39:11 +02:00
parent b4afe5b7bc
commit baffee02b8

View file

@ -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;
};