summaryrefslogtreecommitdiffstats
path: root/rules/openssh.in
blob: 4ebe68f2596397d356e962b7f637b00ac4c42b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## SECTION=networking
menuconfig OPENSSH
	tristate
	select ZLIB
	select OPENSSL
	prompt "openssh                       "
	help
	  ssh (Secure Shell) is a program for logging into a remote machine and
	  for executing commands on a remote machine. It provides secure
	  encrypted communications between two untrusted hosts over an insecure
	  network.  X11 connections and arbitrary TCP/IP ports can also be
	  forwarded over the secure channel. It is intended as a replacement
	  for rlogin, rsh and rcp, and can be used to provide applications with
	  a secure communication channel.

if OPENSSH

config OPENSSH_SSH
	bool "Install ssh (client)"
	help
	  Install the client program (ssh) on the target

config OPENSSH_SSHD
	bool "Install sshd (server)"
	default y
	help
	  Install the openSSH server program (sshd) on the
	  target

config ROOTFS_ETC_INITD_OPENSSH
	depends on OPENSSH_SSHD
	bool
	default y
	prompt "Install startup script"
	help
	  Install a startup script for the openSSH daemon from a selectable source
	choice
		prompt "Kind of startup script"
		depends on OPENSSH_SSHD && ROOTFS_ETC_INITD_OPENSSH
		default ROOTFS_ETC_INITD_OPENSSH_DEFAULT

		config ROOTFS_ETC_INITD_OPENSSH_DEFAULT
			bool
			prompt "Use generic"
			help
			  Installs a generic /etc/init.d/openssh
			  See <ptxdist-install>/generic/etc/init.d/openssh

		config ROOTFS_ETC_INITD_OPENSSH_USER
			bool
			prompt "User defined"
			help
			  This uses a user defined openssh startup script. PTXdist
			  uses file projectroot/etc/init.d/openssh in your local
			  project

	endchoice

config OPENSSH_SCP
	bool "Install scp"
	help
	  Install the secure copy program (scp) on the target

config OPENSSH_SFTP_SERVER
	bool "Install sftp-server"
	help
	  Install the secure ftp program (sftp) on the target

config OPENSSH_KEYGEN
	bool "Install ssh-keygen"
	default y
	help
	  Install ssh-keygen on the target

endif