mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-19 04:03:21 +02:00
lshd: Explicitly pass all options to the daemon.
svn path=/nixos/trunk/; revision=12319
This commit is contained in:
parent
6a2600c0a2
commit
8eb0444ab8
|
@ -37,11 +37,11 @@ respawn ${lsh}/sbin/lshd --daemonic \
|
|||
interfaces))} \
|
||||
-h "${hostKey}" \
|
||||
${if !syslog then "--no-syslog" else ""} \
|
||||
${if !passwordAuthentication then "--no-password" else ""} \
|
||||
${if !publicKeyAuthentication then "--no-publickey" else ""} \
|
||||
${if rootLogin then "--root-login" else ""} \
|
||||
${if passwordAuthentication then "--password" else "--no-password" } \
|
||||
${if publicKeyAuthentication then "--publickey" else "--no-publickey" } \
|
||||
${if rootLogin then "--root-login" else "--no-root-login" } \
|
||||
${if loginShell != null then "--login-shell=\"${loginShell}\"" else "" } \
|
||||
${if srpKeyExchange then "--srp-keyexchange" else "" } \
|
||||
${if srpKeyExchange then "--srp-keyexchange" else "--no-srp-keyexchange" } \
|
||||
${if !tcpForwarding then "--no-tcpip-forward" else "--tcpip-forward"} \
|
||||
${if x11Forwarding then "--x11-forward" else "--no-x11-forward" } \
|
||||
--subsystems=${concatStringsSep ","
|
||||
|
|
Loading…
Reference in a new issue