Home | History | Annotate | only in /external/dropbear
Up to higher level directory
NameDateSize
_MTN/11-Dec-2013
agentfwd.h11-Dec-20131.6K
algo.h11-Dec-20132.4K
Android.mk11-Dec-20131.5K
atomicio.c11-Dec-20132K
atomicio.h11-Dec-20131.6K
auth.h11-Dec-20133.6K
bignum.c11-Dec-20132.4K
bignum.h11-Dec-20131.4K
buffer.c11-Dec-20138.4K
buffer.h11-Dec-20132.5K
CHANGES11-Dec-201321.1K
channel.h11-Dec-20134.5K
chansession.h11-Dec-20132.3K
circbuffer.c11-Dec-20133.6K
circbuffer.h11-Dec-20132K
CleanSpec.mk11-Dec-20132.2K
cli-algo.c11-Dec-20132.9K
cli-auth.c11-Dec-20137.5K
cli-authinteract.c11-Dec-20134.3K
cli-authpasswd.c11-Dec-20133.8K
cli-authpubkey.c11-Dec-20135.6K
cli-channel.c11-Dec-20132K
cli-chansession.c11-Dec-20139.1K
cli-kex.c11-Dec-20138.8K
cli-main.c11-Dec-20133.3K
cli-runopts.c11-Dec-201310.3K
cli-service.c11-Dec-20132.7K
cli-session.c11-Dec-20138.8K
cli-tcpfwd.c11-Dec-20135.3K
common-algo.c11-Dec-20136.1K
common-channel.c11-Dec-201327.9K
common-chansession.c11-Dec-20131.5K
common-kex.c11-Dec-201321.6K
common-runopts.c11-Dec-20131.8K
common-session.c11-Dec-20139.2K
compat.c11-Dec-20138.1K
compat.h11-Dec-20131.7K
config.guess11-Dec-201343.5K
config.h11-Dec-201310.9K
config.h.in11-Dec-201310.3K
config.sub11-Dec-201331.9K
configure11-Dec-2013420.5K
configure.in11-Dec-201317.7K
dbclient.111-Dec-20131.8K
dbmulti.c11-Dec-20132.7K
dbutil.c11-Dec-201317K
dbutil.h11-Dec-20132.8K
debian/11-Dec-2013
debug.h11-Dec-20132.9K
dropbear.811-Dec-20131.9K
dropbearconvert.c11-Dec-20133.9K
dropbearkey.811-Dec-2013822
dropbearkey.c11-Dec-20138.4K
dss.c11-Dec-201311K
dss.h11-Dec-20131.9K
fake-rfc2553.c11-Dec-20136K
fake-rfc2553.h11-Dec-20134.9K
filelist.txt11-Dec-20133.1K
gendss.c11-Dec-20134.7K
gendss.h11-Dec-20131.3K
genrsa.c11-Dec-20133.9K
genrsa.h11-Dec-20131.3K
includes.h11-Dec-20133.3K
INSTALL11-Dec-20133.2K
install-sh11-Dec-20135.5K
kex.h11-Dec-20132.3K
keyimport.c11-Dec-201342.8K
keyimport.h11-Dec-20131.5K
libtomcrypt/11-Dec-2013
libtommath/11-Dec-2013
LICENSE11-Dec-20133.5K
listener.c11-Dec-20134.3K
listener.h11-Dec-20132.1K
loginrec.c11-Dec-201333.8K
loginrec.h11-Dec-20135.8K
Makefile.in11-Dec-20135.8K
MODULE_LICENSE_BSD_LIKE11-Dec-20130
MULTI11-Dec-2013766
netbsd_getpass.c11-Dec-20133.3K
NOTICE11-Dec-20133.5K
options.h11-Dec-201313.7K
packet.c11-Dec-201316.6K
packet.h11-Dec-20131.5K
process-packet.c11-Dec-20134K
progressmeter.c11-Dec-20137.2K
progressmeter.h11-Dec-20131.4K
queue.c11-Dec-20132.2K
queue.h11-Dec-20131.5K
random.c11-Dec-20136.4K
random.h11-Dec-20131.4K
README11-Dec-20133K
rsa.c11-Dec-201310.7K
rsa.h11-Dec-20131.9K
runopts.h11-Dec-20132.8K
scp.c11-Dec-201328.2K
scpmisc.c11-Dec-20135.6K
scpmisc.h11-Dec-20132K
service.h11-Dec-20131.4K
session.h11-Dec-20137.8K
signkey.c11-Dec-201312.1K
signkey.h11-Dec-20132.3K
SMALL11-Dec-20132K
ssh.h11-Dec-20134.3K
sshpty.c11-Dec-201310.4K
sshpty.h11-Dec-20131,006
svr-agentfwd.c11-Dec-20136.5K
svr-algo.c11-Dec-20133.1K
svr-auth.c11-Dec-201310.7K
svr-authpam.c11-Dec-20137.8K
svr-authpasswd.c11-Dec-20133.2K
svr-authpubkey.c11-Dec-20139.8K
svr-chansession.c11-Dec-201326.6K
svr-kex.c11-Dec-20133.3K
svr-main.c11-Dec-201310.3K
svr-runopts.c11-Dec-20138.6K
svr-service.c11-Dec-20132.5K
svr-session.c11-Dec-20135.6K
svr-tcpfwd.c11-Dec-20137K
svr-x11fwd.c11-Dec-20136.1K
tcp-accept.c11-Dec-20134.2K
tcpfwd.h11-Dec-20132.1K
termcodes.c11-Dec-20134K
termcodes.h11-Dec-20131.5K
TODO11-Dec-2013623
x11fwd.h11-Dec-20131.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