Company Products/Technology Services News/Events Support Spacer Contact Partners Customers
English    日本語
Products Photo

Product Documentation for
Devicescape Universal Wireless Platform

Documentation Home for Devicescape Universal Wireless Platform | Package Guide

Package GuidePreviousNextIndex

 


dropbear package

Information on this package is covered here.

Package
Description
License
dropbear
Small footprint SSH server and client.

Summary

Dropbear is a relatively small SSH 2 server that can be linked against the uClibc C runtime library. It supports the following features:

  • X11 forwarding, and authentication-agent forwarding for OpenSSH clients
  • Can run from inetd or standalone
  • Compatible with OpenSSH ~/.ssh/authorized_keys public key authentication
  • The daemon, keygen, key converter, and client can be compiled into a single binary
  • TCP forwarding support
  • Features can easily be disabled when compiling to save space

For security reasons, Devicescape strongly recommends running an SSH server instead of a telnet server.

Usage

Start/Stop Options

Use the following commmands to control the dropbear daemon on the target device.

Action
Command
Start
/etc/init.d/dropbear start
Stop
/etc/init.d/dropbear stop
Restart
/etc/init.d/dropbear restart

Configuration parameters should be set in the /etc/default/dropbear file. Available parameters are:

Parameter
Description
DROPBEAR_PORT
Port on which to listen for incoming connectons
NO_START
Flag to disable dropbear
DROPBEAR_BANNER
Banner filename
DROPBEAR_EXTRA_ARGS
Additional command line arguments for the dropbear process

Runtime Configuration

Other than the options described in the Start/Stop Options, there are no real runtime configuration parameters.

The init scripts provided with the Devicescape™ Universal Wireless Platform will automatically generate RSA and DSS host keys under /etc/dropbear if they are not found.

Command Line Options

Command
Description and Arguments
-b bannerfile
Display the contents of bannerfile before user login
Default: None
-d dsskeyfile
Use dsskeyfile for the dss host key
Default: /etc/dropbear/dropbear_dss_host_key
-r rsakeyfile
Use rsakeyfile for the RSA host key.
Default: /etc/dropbear/dropbear_rsa_host_key
-F
Don't fork into background.
-E
Log to stderr rather than syslog.
-m
Don't display the motd on login.
-w
Disallow root logins.
-s
Disable password logins
-g
Disable password logins for root.
-j
Disable local port forwarding.
-k
Disable remote port forwarding.
-i
Start for inetd
-p port
Listen on specified tcp port, up to 10 can be specified.
Default: 22 if none specified

Debugging

The most useful option for debugging is the -E option to write any error messages to stderr. This will usually provide sufficient information to debug any configuration-related problems with the SSH server.

To set this option:

  1. Add the following line to /etc/default/dropbear:
  2. DROPBEAR_EXTRA_ARGS="-E"
  3. Start (or restart) the dropbear daemon as described in Start/Stop Options.

Building the Package

Follow standard instructions for building userspace packages in the Devicescape Developer Guide topic on "Building the Packages", see subtopic: "Building a Userspace Package from a Source RPM"

The initialization script and defaults for dropbear are in the ds-init-dropbear package which is generated by the ds-init source package.

Licensing

Dropbear is Open Source software, distributed under a MIT-style license. (See http://www.opensource.org/licenses/mit-license.php for license information and Dropbear License.)

Related Packages

Required

ds-init-dropbear package (see Quick View of All Packages)

zlib package (see Quick View of All Packages)

Suggested

None

Package GuidePreviousNextIndex