summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-07-21 13:06:16 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-07-21 13:06:16 +0200
commit9d724038141f0ff649ae5089d9692939376b4853 (patch)
treebffb25bfc4515abd3026447a1e2907f2228f74db /nixos
parent3572f89bbe154087d8ad83c36674d0c2499c0967 (diff)
downloadnixpkgs-9d724038141f0ff649ae5089d9692939376b4853.tar
nixpkgs-9d724038141f0ff649ae5089d9692939376b4853.tar.gz
nixpkgs-9d724038141f0ff649ae5089d9692939376b4853.tar.bz2
nixpkgs-9d724038141f0ff649ae5089d9692939376b4853.tar.lz
nixpkgs-9d724038141f0ff649ae5089d9692939376b4853.tar.xz
nixpkgs-9d724038141f0ff649ae5089d9692939376b4853.tar.zst
nixpkgs-9d724038141f0ff649ae5089d9692939376b4853.zip
ssh: fix 3572f89bbe154087d8ad83c36674d0c2499c0967
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/ssh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix
index 0f7f0515f0e..cc398174e6c 100644
--- a/nixos/modules/programs/ssh.nix
+++ b/nixos/modules/programs/ssh.nix
@@ -211,8 +211,8 @@ in
 
         ForwardX11 ${if cfg.forwardX11 then "yes" else "no"}
 
-        ${optionalString (cfg.pubkeyAcceptedKeyTypes != []) PubkeyAcceptedKeyTypes "${concatStringsSep "," cfg.pubkeyAcceptedKeyTypes}"}
-        ${optionalString (cfg.hostKeyAlgorithms != []) HostKeyAlgorithms "${concatStringsSep "," cfg.hostKeyAlgorithms}"}
+        ${optionalString (cfg.pubkeyAcceptedKeyTypes != []) "PubkeyAcceptedKeyTypes ${concatStringsSep "," cfg.pubkeyAcceptedKeyTypes}"}
+        ${optionalString (cfg.hostKeyAlgorithms != []) "HostKeyAlgorithms ${concatStringsSep "," cfg.hostKeyAlgorithms}"}
 
         ${cfg.extraConfig}
       '';