• Home
Name Date Size #Lines LOC

..--

service/03-May-2024-73

README.DebianD03-May-20241.5 KiB4232

README.Debian.dietD03-May-2024584 1611

README.runitD03-May-20241.6 KiB4730

changelogD03-May-20247.5 KiB226149

controlD03-May-2024637 2119

copyright.inD03-May-2024374 127

dropbear.README.DebianD03-May-20241.9 KiB5341

dropbear.conffilesD03-May-202461 43

dropbear.defaultD03-May-20240

dropbear.docsD03-May-202458 54

dropbear.initD03-May-20241.7 KiB6250

dropbear.postinstD03-May-20242 KiB6856

dropbear.postrmD03-May-2024346 1310

dropbear.prermD03-May-2024232 129

implicitD03-May-20243.4 KiB9486

rulesD03-May-20243.2 KiB10886

README.Debian

1Dropbear for Debian
2-------------------
3
4This package will attempt to listen on port 22. If the OpenSSH
5package ("ssh") is installed, the file /etc/default/dropbear
6will be set up so that the server does not start by default.
7
8You can run Dropbear concurrently with OpenSSH 'sshd' by
9modifying /etc/default/dropbear so that "NO_START" is set to
10"0" and changing the port number that Dropbear runs on. Follow
11the instructions in the file.
12
13This package suggests you install the "ssh" package. This package
14provides the "ssh" client program, as well as the "/usr/bin/scp"
15binary you will need to be able to retrieve files from a server
16running Dropbear via SCP.
17
18Replacing OpenSSH "sshd" with Dropbear
19--------------------------------------
20
21You will still want to have the "ssh" package installed, as it
22provides the "ssh" and "scp" binaries. When you install this
23package, it checks for existing OpenSSH host keys and if found,
24converts them to the Dropbear format.
25
26If this appears to have worked, you should be able to change over
27by following these steps:
28
291. Stop the OpenSSH server
30   % /etc/init.d/ssh stop
312. Prevent the OpenSSH server from starting in the future
32   % touch /etc/ssh/sshd_not_to_be_run
333. Modify the Dropbear defaults file, set NO_START to 0 and
34   ensure DROPBEAR_PORT is set to 22.
35   % editor /etc/default/dropbear
364. Restart the Dropbear server.
37   % /etc/init.d/dropbear restart
38
39See the Dropbear homepage for more information:
40  http://matt.ucc.asn.au/dropbear/dropbear.html
41
42

README.Debian.diet

1Building with the diet libc
2---------------------------
3
4This package optionally can be built with the diet libc instead of the
5glibc to provide small statically linked programs.  The resulting package
6has no dependency on any other package.
7
8To use the diet libc, make sure the latest versions of the dietlibc-dev
9package is installed, and set DEB_BUILD_OPTIONS=diet in the environment
10when building the package, e.g.:
11
12 # apt-get install dietlibc-dev
13 $ DEB_BUILD_OPTIONS=diet fakeroot apt-get source -b dropbear
14
15 -- Gerrit Pape <pape@smarden.org>, Sat, 17 Jul 2004 19:09:34 +0000
16

README.runit

1Using the dropbear SSH server with runit's services supervision
2---------------------------------------------------------------
3
4The dropbear SSH server is perfectly suited to be run under runit's
5service supervision, and this package already has prepared an adequate
6service directory.  Follow these steps to enable the dropbear service
7using the runit package.
8
9If not yet installed on your system, install the runit package, and make
10sure its service supervision is enabled (it's by default)
11
12 # apt-get install runit
13
14Make sure the dropbear service normally handled through the sysv init
15script is stopped
16
17 # /etc/init.d/dropbear stop
18
19Create the system user ``dropbearlog'' which will run the logger service,
20and own the logs
21
22 # adduser --system --home /var/log/dropbear --no-create-home dropbearlog
23
24Create the log directory and make the newly created system user the owner
25of this directory
26
27 # mkdir -p /var/log/dropbear && chown dropbearlog /var/log/dropbear
28
29Optionally adjust the configuration of the dropbear service by editing the
30run script
31
32 # vi /etc/dropbear/run
33
34Finally enable the service by linking dropbear's service directory to
35/var/service/.  The service will be started within five seconds, and
36automatically at boot time.  The sysv init script is disabled; see the
37runsvctrl(8) program for information on how to control services handled by
38runit.  See the svlogd(8) program on how to configure the log service.
39
40 # ln -s /etc/dropbear /var/service/
41
42Optionally check the status of the service a few seconds later
43
44 # runsvstat -l /var/service/dropbear
45
46 -- Gerrit Pape <pape@smarden.org>, Sun, 16 May 2004 15:52:34 +0000
47