• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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