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