This project is a fork of the dropbear.git project. If you have that one already cloned locally, you can use
git clone --reference /path/to/your/dropbear.git/incarnation mirror_URL
to save bandwidth during cloning.
 
descriptionFork of Dropbear that supports pluggable authentication
homepage URLhttp://matt.ucc.asn.au/dropbear/dropbear.html
ownerjk@jk.gs
last changeWed, 21 Jul 2010 14:07:13 +0000 (21 14:07 +0000)
content tags
add:
README
This is Dropbear, a smallish SSH 2 server and client.

INSTALL has compilation instructions.

MULTI has instructions on making a multi-purpose binary (ie a single binary
which performs multiple tasks, to save disk space)

SMALL has some tips on creating small binaries.

See TODO for a few of the things I know need looking at, and please contact
me if you have any questions/bugs found/features/ideas/comments etc :)

Matt Johnston
matt@ucc.asn.au


In the absence of detailed documentation, some notes follow:
============================================================================

Server public key auth:

You can use ~/.ssh/authorized_keys in the same way as with OpenSSH, just put
the key entries in that file. They should be of the form:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAwVa6M6cGVmUcLl2cFzkxEoJd06Ub4bVDsYrWvXhvUV+ZAM9uGuewZBDoAqNKJxoIn0Hyd0Nk/yU99UVv6NWV/5YSHtnf35LKds56j7cuzoQpFIdjNwdxAN0PCET/MG8qyskG/2IE2DPNIaJ3Wy+Ws4IZEgdJgPlTYUBWWtCWOGc= someone@hostname

You must make sure that ~/.ssh, and the key file, are only writable by the
user. Beware of editors that split the key into multiple lines.

NOTE: Dropbear ignores authorized_keys options such as those described in the
OpenSSH sshd manpage, and will not allow a login for these keys. 

============================================================================

Client public key auth:

Dropbear can do public key auth as a client, but you will have to convert
OpenSSH style keys to Dropbear format, or use dropbearkey to create them.

If you have an OpenSSH-style private key ~/.ssh/id_rsa, you need to do:

dropbearconvert openssh dropbear ~/.ssh/id_rsa  ~/.ssh/id_rsa.db
dbclient -i ~/.ssh/id_rsa.db <hostname>

Currently encrypted keys aren't supported, neither is agent forwarding. At some
stage both hopefully will be.

============================================================================

If you want to get the public-key portion of a Dropbear private key, look at
dropbearkey's '-y' option.

============================================================================

To run the server, you need to generate server keys, this is one-off:
./dropbearkey -t rsa -f dropbear_rsa_host_key
./dropbearkey -t dss -f dropbear_dss_host_key

or alternatively convert OpenSSH keys to Dropbear:
./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key

============================================================================

If the server is run as non-root, you most likely won't be able to allocate a
pty, and you cannot login as any user other than that running the daemon
(obviously). Shadow passwords will also be unusable as non-root.

============================================================================

The Dropbear distribution includes a standalone version of OpenSSH's scp
program. You can compile it with "make scp", you may want to change the path
of the ssh binary, specified by _PATH_SSH_PROGRAM in options.h . By default
the progress meter isn't compiled in to save space, you can enable it by 
adding 'SCPPROGRESS=1' to the make commandline.
shortlog
2010-07-21 Matt Johnstonremove unused variableau.asn.ucc.matt.dropbear
2010-07-21 Matt Johnstonmerge of '4b90e96a8a8afcc9feafc59cb47592a4a6d1cc30'
2010-07-21 Matt Johnston- Update fake-rfc2553.{c,h} from OpenSSH 5.5p1
2010-07-21 Matt JohnstonFix bug in primality testing, see
2010-07-21 Matt JohnstonWork properly again with bundled libtom*. autoconf...
2010-07-21 Matt JohnstonRename rsa_key to dropbear_rsa_key (and same for dss...
2010-07-21 Matt JohnstonUse system libtomcrypt/libtommath if available. Doesn...
2010-07-20 Matt JohnstonComment public/private parts
2010-03-21 Matt Johnstonmerge of '0adbc6745a5ada0b6780b0683209f5b26b1a335d'
2010-03-21 Matt Johnston- make structure static
2010-03-04 Matt Johnstondon't #include "utmp.h"
2010-02-27 Matt Johnston- fixes for listenaddr
2010-02-27 Matt Johnstonmerge of '48fdaa8706d1acda35e9d564adc9a1fbc96c18c8'
2010-02-27 Matt Johnston- tcpfwd bindaddr support against trunk. needs merging.
2010-02-24 Matt Johnston- Progress for allowing specifying a listenaddr for...
2009-09-13 Matt JohnstonMention -p's address argument in manpage synopsis
...
tags
15 years ago DROPBEAR_0.52
16 years ago DROPBEAR_0.51
16 years ago DROPBEAR_0.50
17 years ago DROPBEAR_0.49
17 years ago libtommath-0.40
17 years ago libtomcrypt-1.16
18 years ago DROPBEAR_0.48.1
18 years ago DROPBEAR_0.48
18 years ago libtommath-0.35
18 years ago libtomcrypt-1.05
18 years ago DROPBEAR_0.47
18 years ago DROPBEAR_0.46
19 years ago DROPBEAR_0.45
19 years ago DROPBEAR_0.44
19 years ago DROPBEAR_0.44test4
19 years ago DROPBEAR_0.44test3
...
heads
13 years ago au.asn.ucc.matt.dropbear