From baffee02b8996ceed6e51fee753c6e6a731a34f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 22 Apr 2014 15:39:11 +0200 Subject: [PATCH] sshd: Always start a session Partially reverts 70a4c7b1dfdb238d3729c3f71127538943a43afd. Whether to start a session is independent of whether we're running in a container. --- nixos/modules/services/networking/ssh/sshd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index b66ccb87120c..d666b462d157 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -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; };