Home | History | Annotate | only in /external/dropbear
Up to higher level directory
NameDateSize
_MTN/20-Jun-2014
agentfwd.h20-Jun-20141.6K
algo.h20-Jun-20142.4K
Android.mk20-Jun-20141.5K
atomicio.c20-Jun-20142K
atomicio.h20-Jun-20141.6K
auth.h20-Jun-20143.6K
bignum.c20-Jun-20142.4K
bignum.h20-Jun-20141.4K
buffer.c20-Jun-20148.4K
buffer.h20-Jun-20142.5K
CHANGES20-Jun-201421.1K
channel.h20-Jun-20144.5K
chansession.h20-Jun-20142.3K
circbuffer.c20-Jun-20143.6K
circbuffer.h20-Jun-20142K
CleanSpec.mk20-Jun-20142.2K
cli-algo.c20-Jun-20142.9K
cli-auth.c20-Jun-20147.5K
cli-authinteract.c20-Jun-20144.3K
cli-authpasswd.c20-Jun-20143.8K
cli-authpubkey.c20-Jun-20145.6K
cli-channel.c20-Jun-20142K
cli-chansession.c20-Jun-20149.1K
cli-kex.c20-Jun-20148.8K
cli-main.c20-Jun-20143.3K
cli-runopts.c20-Jun-201410.3K
cli-service.c20-Jun-20142.7K
cli-session.c20-Jun-20148.8K
cli-tcpfwd.c20-Jun-20145.3K
common-algo.c20-Jun-20146.1K
common-channel.c20-Jun-201427.9K
common-chansession.c20-Jun-20141.5K
common-kex.c20-Jun-201421.6K
common-runopts.c20-Jun-20141.8K
common-session.c20-Jun-20149.2K
compat.c20-Jun-20148.1K
compat.h20-Jun-20141.7K
config.guess20-Jun-201443.5K
config.h20-Jun-201410.9K
config.h.in20-Jun-201410.3K
config.sub20-Jun-201431.9K
configure20-Jun-2014420.5K
configure.in20-Jun-201417.7K
dbclient.120-Jun-20141.8K
dbmulti.c20-Jun-20142.7K
dbutil.c20-Jun-201417K
dbutil.h20-Jun-20142.8K
debian/20-Jun-2014
debug.h20-Jun-20142.9K
dropbear.820-Jun-20141.9K
dropbearconvert.c20-Jun-20143.9K
dropbearkey.820-Jun-2014822
dropbearkey.c20-Jun-20148.4K
dss.c20-Jun-201411K
dss.h20-Jun-20141.9K
fake-rfc2553.c20-Jun-20146K
fake-rfc2553.h20-Jun-20144.9K
filelist.txt20-Jun-20143.1K
gendss.c20-Jun-20144.7K
gendss.h20-Jun-20141.3K
genrsa.c20-Jun-20143.9K
genrsa.h20-Jun-20141.3K
includes.h20-Jun-20143.3K
INSTALL20-Jun-20143.2K
install-sh20-Jun-20145.5K
kex.h20-Jun-20142.3K
keyimport.c20-Jun-201442.8K
keyimport.h20-Jun-20141.5K
libtomcrypt/20-Jun-2014
libtommath/20-Jun-2014
LICENSE20-Jun-20143.5K
listener.c20-Jun-20144.3K
listener.h20-Jun-20142.1K
loginrec.c20-Jun-201433.8K
loginrec.h20-Jun-20145.8K
Makefile.in20-Jun-20145.8K
MODULE_LICENSE_BSD_LIKE20-Jun-20140
MULTI20-Jun-2014766
netbsd_getpass.c20-Jun-20143.3K
NOTICE20-Jun-20143.5K
options.h20-Jun-201413.7K
packet.c20-Jun-201416.6K
packet.h20-Jun-20141.5K
process-packet.c20-Jun-20144K
progressmeter.c20-Jun-20147.2K
progressmeter.h20-Jun-20141.4K
queue.c20-Jun-20142.2K
queue.h20-Jun-20141.5K
random.c20-Jun-20146.4K
random.h20-Jun-20141.4K
README20-Jun-20143K
rsa.c20-Jun-201410.7K
rsa.h20-Jun-20141.9K
runopts.h20-Jun-20142.8K
scp.c20-Jun-201428.2K
scpmisc.c20-Jun-20145.6K
scpmisc.h20-Jun-20142K
service.h20-Jun-20141.4K
session.h20-Jun-20147.8K
signkey.c20-Jun-201412.1K
signkey.h20-Jun-20142.3K
SMALL20-Jun-20142K
ssh.h20-Jun-20144.3K
sshpty.c20-Jun-201410.4K
sshpty.h20-Jun-20141,006
svr-agentfwd.c20-Jun-20146.5K
svr-algo.c20-Jun-20143.1K
svr-auth.c20-Jun-201410.7K
svr-authpam.c20-Jun-20147.8K
svr-authpasswd.c20-Jun-20143.2K
svr-authpubkey.c20-Jun-20149.8K
svr-chansession.c20-Jun-201426.6K
svr-kex.c20-Jun-20143.3K
svr-main.c20-Jun-201410.3K
svr-runopts.c20-Jun-20148.6K
svr-service.c20-Jun-20142.5K
svr-session.c20-Jun-20145.6K
svr-tcpfwd.c20-Jun-20147K
svr-x11fwd.c20-Jun-20146.1K
tcp-accept.c20-Jun-20144.2K
tcpfwd.h20-Jun-20142.1K
termcodes.c20-Jun-20144K
termcodes.h20-Jun-20141.5K
TODO20-Jun-2014623
x11fwd.h20-Jun-20141.5K

README

      1 This is Dropbear, a smallish SSH 2 server and client.
      2 
      3 INSTALL has compilation instructions.
      4 
      5 MULTI has instructions on making a multi-purpose binary (ie a single binary
      6 which performs multiple tasks, to save disk space)
      7 
      8 SMALL has some tips on creating small binaries.
      9 
     10 See TODO for a few of the things I know need looking at, and please contact
     11 me if you have any questions/bugs found/features/ideas/comments etc :)
     12 
     13 Matt Johnston
     14 matt (a] ucc.asn.au
     15 
     16 
     17 In the absence of detailed documentation, some notes follow:
     18 ============================================================================
     19 
     20 Server public key auth:
     21 
     22 You can use ~/.ssh/authorized_keys in the same way as with OpenSSH, just put
     23 the key entries in that file. They should be of the form:
     24 
     25 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAwVa6M6cGVmUcLl2cFzkxEoJd06Ub4bVDsYrWvXhvUV+ZAM9uGuewZBDoAqNKJxoIn0Hyd0Nk/yU99UVv6NWV/5YSHtnf35LKds56j7cuzoQpFIdjNwdxAN0PCET/MG8qyskG/2IE2DPNIaJ3Wy+Ws4IZEgdJgPlTYUBWWtCWOGc= someone@hostname
     26 
     27 You must make sure that ~/.ssh, and the key file, are only writable by the
     28 user. Beware of editors that split the key into multiple lines.
     29 
     30 NOTE: Dropbear ignores authorized_keys options such as those described in the
     31 OpenSSH sshd manpage, and will not allow a login for these keys. 
     32 
     33 ============================================================================
     34 
     35 Client public key auth:
     36 
     37 Dropbear can do public key auth as a client, but you will have to convert
     38 OpenSSH style keys to Dropbear format, or use dropbearkey to create them.
     39 
     40 If you have an OpenSSH-style private key ~/.ssh/id_rsa, you need to do:
     41 
     42 dropbearconvert openssh dropbear ~/.ssh/id_rsa  ~/.ssh/id_rsa.db
     43 dbclient -i ~/.ssh/id_rsa.db <hostname>
     44 
     45 Currently encrypted keys aren't supported, neither is agent forwarding. At some
     46 stage both hopefully will be.
     47 
     48 ============================================================================
     49 
     50 If you want to get the public-key portion of a Dropbear private key, look at
     51 dropbearkey's '-y' option.
     52 
     53 ============================================================================
     54 
     55 To run the server, you need to generate server keys, this is one-off:
     56 ./dropbearkey -t rsa -f dropbear_rsa_host_key
     57 ./dropbearkey -t dss -f dropbear_dss_host_key
     58 
     59 or alternatively convert OpenSSH keys to Dropbear:
     60 ./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key
     61 
     62 ============================================================================
     63 
     64 If the server is run as non-root, you most likely won't be able to allocate a
     65 pty, and you cannot login as any user other than that running the daemon
     66 (obviously). Shadow passwords will also be unusable as non-root.
     67 
     68 ============================================================================
     69 
     70 The Dropbear distribution includes a standalone version of OpenSSH's scp
     71 program. You can compile it with "make scp", you may want to change the path
     72 of the ssh binary, specified by _PATH_SSH_PROGRAM in options.h . By default
     73 the progress meter isn't compiled in to save space, you can enable it by 
     74 adding 'SCPPROGRESS=1' to the make commandline.
     75