Home | History | Annotate | only in /external/dropbear
Up to higher level directory
NameDateSize
_MTN/01-Nov-2013
agentfwd.h01-Nov-20131.6K
algo.h01-Nov-20132.4K
Android.mk01-Nov-20131.5K
atomicio.c01-Nov-20132K
atomicio.h01-Nov-20131.6K
auth.h01-Nov-20133.6K
bignum.c01-Nov-20132.4K
bignum.h01-Nov-20131.4K
buffer.c01-Nov-20138.4K
buffer.h01-Nov-20132.5K
CHANGES01-Nov-201321.1K
channel.h01-Nov-20134.5K
chansession.h01-Nov-20132.3K
circbuffer.c01-Nov-20133.6K
circbuffer.h01-Nov-20132K
CleanSpec.mk01-Nov-20132.2K
cli-algo.c01-Nov-20132.9K
cli-auth.c01-Nov-20137.5K
cli-authinteract.c01-Nov-20134.3K
cli-authpasswd.c01-Nov-20133.8K
cli-authpubkey.c01-Nov-20135.6K
cli-channel.c01-Nov-20132K
cli-chansession.c01-Nov-20139.1K
cli-kex.c01-Nov-20138.8K
cli-main.c01-Nov-20133.3K
cli-runopts.c01-Nov-201310.3K
cli-service.c01-Nov-20132.7K
cli-session.c01-Nov-20138.8K
cli-tcpfwd.c01-Nov-20135.3K
common-algo.c01-Nov-20136.1K
common-channel.c01-Nov-201327.9K
common-chansession.c01-Nov-20131.5K
common-kex.c01-Nov-201321.6K
common-runopts.c01-Nov-20131.8K
common-session.c01-Nov-20139.2K
compat.c01-Nov-20138.1K
compat.h01-Nov-20131.7K
config.guess01-Nov-201343.5K
config.h01-Nov-201310.9K
config.h.in01-Nov-201310.3K
config.sub01-Nov-201331.9K
configure01-Nov-2013420.5K
configure.in01-Nov-201317.7K
dbclient.101-Nov-20131.8K
dbmulti.c01-Nov-20132.7K
dbutil.c01-Nov-201317K
dbutil.h01-Nov-20132.8K
debian/01-Nov-2013
debug.h01-Nov-20132.9K
dropbear.801-Nov-20131.9K
dropbearconvert.c01-Nov-20133.9K
dropbearkey.801-Nov-2013822
dropbearkey.c01-Nov-20138.4K
dss.c01-Nov-201311K
dss.h01-Nov-20131.9K
fake-rfc2553.c01-Nov-20136K
fake-rfc2553.h01-Nov-20134.9K
filelist.txt01-Nov-20133.1K
gendss.c01-Nov-20134.7K
gendss.h01-Nov-20131.3K
genrsa.c01-Nov-20133.9K
genrsa.h01-Nov-20131.3K
includes.h01-Nov-20133.3K
INSTALL01-Nov-20133.2K
install-sh01-Nov-20135.5K
kex.h01-Nov-20132.3K
keyimport.c01-Nov-201342.8K
keyimport.h01-Nov-20131.5K
libtomcrypt/01-Nov-2013
libtommath/01-Nov-2013
LICENSE01-Nov-20133.5K
listener.c01-Nov-20134.3K
listener.h01-Nov-20132.1K
loginrec.c01-Nov-201333.8K
loginrec.h01-Nov-20135.8K
Makefile.in01-Nov-20135.8K
MODULE_LICENSE_BSD_LIKE01-Nov-20130
MULTI01-Nov-2013766
netbsd_getpass.c01-Nov-20133.3K
NOTICE01-Nov-20133.5K
options.h01-Nov-201313.7K
packet.c01-Nov-201316.6K
packet.h01-Nov-20131.5K
process-packet.c01-Nov-20134K
progressmeter.c01-Nov-20137.2K
progressmeter.h01-Nov-20131.4K
queue.c01-Nov-20132.2K
queue.h01-Nov-20131.5K
random.c01-Nov-20136.4K
random.h01-Nov-20131.4K
README01-Nov-20133K
rsa.c01-Nov-201310.7K
rsa.h01-Nov-20131.9K
runopts.h01-Nov-20132.8K
scp.c01-Nov-201328.2K
scpmisc.c01-Nov-20135.6K
scpmisc.h01-Nov-20132K
service.h01-Nov-20131.4K
session.h01-Nov-20137.8K
signkey.c01-Nov-201312.1K
signkey.h01-Nov-20132.3K
SMALL01-Nov-20132K
ssh.h01-Nov-20134.3K
sshpty.c01-Nov-201310.4K
sshpty.h01-Nov-20131,006
svr-agentfwd.c01-Nov-20136.5K
svr-algo.c01-Nov-20133.1K
svr-auth.c01-Nov-201310.7K
svr-authpam.c01-Nov-20137.8K
svr-authpasswd.c01-Nov-20133.2K
svr-authpubkey.c01-Nov-20139.8K
svr-chansession.c01-Nov-201326.6K
svr-kex.c01-Nov-20133.3K
svr-main.c01-Nov-201310.3K
svr-runopts.c01-Nov-20138.6K
svr-service.c01-Nov-20132.5K
svr-session.c01-Nov-20135.6K
svr-tcpfwd.c01-Nov-20137K
svr-x11fwd.c01-Nov-20136.1K
tcp-accept.c01-Nov-20134.2K
tcpfwd.h01-Nov-20132.1K
termcodes.c01-Nov-20134K
termcodes.h01-Nov-20131.5K
TODO01-Nov-2013623
x11fwd.h01-Nov-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