Home | History | Annotate | only in /external/dropbear
Up to higher level directory
NameDateSize
_MTN/20-Sep-2013
agentfwd.h20-Sep-20131.6K
algo.h20-Sep-20132.4K
Android.mk20-Sep-20131.5K
atomicio.c20-Sep-20132K
atomicio.h20-Sep-20131.6K
auth.h20-Sep-20133.6K
bignum.c20-Sep-20132.4K
bignum.h20-Sep-20131.4K
buffer.c20-Sep-20138.4K
buffer.h20-Sep-20132.5K
CHANGES20-Sep-201321.1K
channel.h20-Sep-20134.5K
chansession.h20-Sep-20132.3K
circbuffer.c20-Sep-20133.6K
circbuffer.h20-Sep-20132K
CleanSpec.mk20-Sep-20132.2K
cli-algo.c20-Sep-20132.9K
cli-auth.c20-Sep-20137.5K
cli-authinteract.c20-Sep-20134.3K
cli-authpasswd.c20-Sep-20133.8K
cli-authpubkey.c20-Sep-20135.6K
cli-channel.c20-Sep-20132K
cli-chansession.c20-Sep-20139.1K
cli-kex.c20-Sep-20138.8K
cli-main.c20-Sep-20133.3K
cli-runopts.c20-Sep-201310.3K
cli-service.c20-Sep-20132.7K
cli-session.c20-Sep-20138.8K
cli-tcpfwd.c20-Sep-20135.3K
common-algo.c20-Sep-20136.1K
common-channel.c20-Sep-201327.9K
common-chansession.c20-Sep-20131.5K
common-kex.c20-Sep-201321.6K
common-runopts.c20-Sep-20131.8K
common-session.c20-Sep-20139.2K
compat.c20-Sep-20138.1K
compat.h20-Sep-20131.7K
config.guess20-Sep-201343.5K
config.h20-Sep-201310.9K
config.h.in20-Sep-201310.3K
config.sub20-Sep-201331.9K
configure20-Sep-2013420.5K
configure.in20-Sep-201317.7K
dbclient.120-Sep-20131.8K
dbmulti.c20-Sep-20132.7K
dbutil.c20-Sep-201317K
dbutil.h20-Sep-20132.8K
debian/20-Sep-2013
debug.h20-Sep-20132.9K
dropbear.820-Sep-20131.9K
dropbearconvert.c20-Sep-20133.9K
dropbearkey.820-Sep-2013822
dropbearkey.c20-Sep-20138.4K
dss.c20-Sep-201311K
dss.h20-Sep-20131.9K
fake-rfc2553.c20-Sep-20136K
fake-rfc2553.h20-Sep-20134.9K
filelist.txt20-Sep-20133.1K
gendss.c20-Sep-20134.7K
gendss.h20-Sep-20131.3K
genrsa.c20-Sep-20133.9K
genrsa.h20-Sep-20131.3K
includes.h20-Sep-20133.3K
INSTALL20-Sep-20133.2K
install-sh20-Sep-20135.5K
kex.h20-Sep-20132.3K
keyimport.c20-Sep-201342.8K
keyimport.h20-Sep-20131.5K
libtomcrypt/20-Sep-2013
libtommath/20-Sep-2013
LICENSE20-Sep-20133.5K
listener.c20-Sep-20134.3K
listener.h20-Sep-20132.1K
loginrec.c20-Sep-201333.8K
loginrec.h20-Sep-20135.8K
Makefile.in20-Sep-20135.8K
MODULE_LICENSE_BSD_LIKE20-Sep-20130
MULTI20-Sep-2013766
netbsd_getpass.c20-Sep-20133.3K
NOTICE20-Sep-20133.5K
options.h20-Sep-201313.7K
packet.c20-Sep-201316.6K
packet.h20-Sep-20131.5K
process-packet.c20-Sep-20134K
progressmeter.c20-Sep-20137.2K
progressmeter.h20-Sep-20131.4K
queue.c20-Sep-20132.2K
queue.h20-Sep-20131.5K
random.c20-Sep-20136.4K
random.h20-Sep-20131.4K
README20-Sep-20133K
rsa.c20-Sep-201310.7K
rsa.h20-Sep-20131.9K
runopts.h20-Sep-20132.8K
scp.c20-Sep-201328.2K
scpmisc.c20-Sep-20135.6K
scpmisc.h20-Sep-20132K
service.h20-Sep-20131.4K
session.h20-Sep-20137.8K
signkey.c20-Sep-201312.1K
signkey.h20-Sep-20132.3K
SMALL20-Sep-20132K
ssh.h20-Sep-20134.3K
sshpty.c20-Sep-201310.4K
sshpty.h20-Sep-20131,006
svr-agentfwd.c20-Sep-20136.5K
svr-algo.c20-Sep-20133.1K
svr-auth.c20-Sep-201310.7K
svr-authpam.c20-Sep-20137.8K
svr-authpasswd.c20-Sep-20133.2K
svr-authpubkey.c20-Sep-20139.8K
svr-chansession.c20-Sep-201326.6K
svr-kex.c20-Sep-20133.3K
svr-main.c20-Sep-201310.3K
svr-runopts.c20-Sep-20138.6K
svr-service.c20-Sep-20132.5K
svr-session.c20-Sep-20135.6K
svr-tcpfwd.c20-Sep-20137K
svr-x11fwd.c20-Sep-20136.1K
tcp-accept.c20-Sep-20134.2K
tcpfwd.h20-Sep-20132.1K
termcodes.c20-Sep-20134K
termcodes.h20-Sep-20131.5K
TODO20-Sep-2013623
x11fwd.h20-Sep-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