* Purify the sshd configuration file (don't put it in /etc/ssh).
svn path=/nixos/trunk/; revision=7320
This commit is contained in:
parent
482a6625a9
commit
4b5b0d2c66
@ -41,11 +41,6 @@ import ../helpers/make-etc.nix {
|
|||||||
target = "login.defs";
|
target = "login.defs";
|
||||||
}
|
}
|
||||||
|
|
||||||
{ # SSH daemon configuration.
|
|
||||||
source = ./etc/sshd_config;
|
|
||||||
target = "ssh/sshd_config";
|
|
||||||
}
|
|
||||||
|
|
||||||
{ # The Upstart events defined above.
|
{ # The Upstart events defined above.
|
||||||
source = upstartJobs + "/etc/event.d";
|
source = upstartJobs + "/etc/event.d";
|
||||||
target = "event.d";
|
target = "event.d";
|
||||||
|
@ -26,7 +26,7 @@ start script
|
|||||||
|
|
||||||
end script
|
end script
|
||||||
|
|
||||||
respawn ${openssh}/sbin/sshd -D -h /etc/ssh/ssh_host_dsa_key -f /etc/ssh/sshd_config
|
respawn ${openssh}/sbin/sshd -D -h /etc/ssh/ssh_host_dsa_key -f ${./sshd_config}
|
||||||
";
|
";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user