summaryrefslogtreecommitdiffstats
path: root/rules/openssh.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/openssh.in')
-rw-r--r--rules/openssh.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/rules/openssh.in b/rules/openssh.in
index 09f5c5555..37013250c 100644
--- a/rules/openssh.in
+++ b/rules/openssh.in
@@ -6,10 +6,10 @@ menuconfig OPENSSH
select OPENSSL
select LIBC_CRYPT
select LIBC_UTIL
- select RC_ONCE if OPENSSH_SSHD && RUNTIME
+ select RC_ONCE if OPENSSH_SSHD_GENKEYS && RUNTIME
select BUSYBOX_START_STOP_DAEMON if OPENSSH_SSHD_STARTSCRIPT
select LIBSELINUX if GLOBAL_SELINUX
- select OPENSSH_KEYGEN if OPENSSH_SSHD
+ select OPENSSH_KEYGEN if OPENSSH_SSHD_GENKEYS
prompt "openssh "
help
secure shell client/server, an rlogin/rsh/rcp replacement
@@ -49,6 +49,14 @@ config OPENSSH_SSHD_SYSTEMD_UNIT
depends on OPENSSH_SSHD && SYSTEMD
prompt "install systemd unit files for sshd"
+config OPENSSH_SSHD_GENKEYS
+ bool "generate sshd host keys at first boot"
+ default y
+ depends on OPENSSH_SSHD
+ help
+ If not set host keys must be provided in some other way
+ (otherwise sshd will not start)
+
config OPENSSH_SCP
bool "scp"
help