FolusWen cb205fbfcd [Add][Modularization / GPL][Module_PowerSharing / dbclient] il y a 3 ans
..
debian 3602ad0575 1.First upload. il y a 5 ans
libtomcrypt 815e877c4f 1.Add [AW-Regular] dts file to uBoot folder. il y a 5 ans
libtommath 815e877c4f 1.Add [AW-Regular] dts file to uBoot folder. il y a 5 ans
release cb205fbfcd [Add][Modularization / GPL][Module_PowerSharing / dbclient] il y a 3 ans
.hg_archival.txt 3602ad0575 1.First upload. il y a 5 ans
.hgsigs 3602ad0575 1.First upload. il y a 5 ans
.travis.yml 3602ad0575 1.First upload. il y a 5 ans
CHANGES 3602ad0575 1.First upload. il y a 5 ans
INSTALL 3602ad0575 1.First upload. il y a 5 ans
LICENSE 3602ad0575 1.First upload. il y a 5 ans
MULTI 3602ad0575 1.First upload. il y a 5 ans
Makefile 3602ad0575 1.First upload. il y a 5 ans
Makefile.in 3602ad0575 1.First upload. il y a 5 ans
README 3602ad0575 1.First upload. il y a 5 ans
SMALL 3602ad0575 1.First upload. il y a 5 ans
TODO 3602ad0575 1.First upload. il y a 5 ans
agentfwd.h 3602ad0575 1.First upload. il y a 5 ans
algo.h 3602ad0575 1.First upload. il y a 5 ans
atomicio.c 3602ad0575 1.First upload. il y a 5 ans
atomicio.h 3602ad0575 1.First upload. il y a 5 ans
atomicio.o 3602ad0575 1.First upload. il y a 5 ans
auth.h 3602ad0575 1.First upload. il y a 5 ans
bignum.c 3602ad0575 1.First upload. il y a 5 ans
bignum.h 3602ad0575 1.First upload. il y a 5 ans
bignum.o 3602ad0575 1.First upload. il y a 5 ans
buffer.c 3602ad0575 1.First upload. il y a 5 ans
buffer.h 3602ad0575 1.First upload. il y a 5 ans
buffer.o 3602ad0575 1.First upload. il y a 5 ans
channel.h 3602ad0575 1.First upload. il y a 5 ans
chansession.h 3602ad0575 1.First upload. il y a 5 ans
circbuffer.c 3602ad0575 1.First upload. il y a 5 ans
circbuffer.h 3602ad0575 1.First upload. il y a 5 ans
circbuffer.o 3602ad0575 1.First upload. il y a 5 ans
cli-agentfwd.c 3602ad0575 1.First upload. il y a 5 ans
cli-agentfwd.o 3602ad0575 1.First upload. il y a 5 ans
cli-auth.c 3602ad0575 1.First upload. il y a 5 ans
cli-auth.o 3602ad0575 1.First upload. il y a 5 ans
cli-authinteract.c 3602ad0575 1.First upload. il y a 5 ans
cli-authinteract.o 3602ad0575 1.First upload. il y a 5 ans
cli-authpasswd.c 3602ad0575 1.First upload. il y a 5 ans
cli-authpasswd.o 3602ad0575 1.First upload. il y a 5 ans
cli-authpubkey.c 3602ad0575 1.First upload. il y a 5 ans
cli-authpubkey.o 3602ad0575 1.First upload. il y a 5 ans
cli-channel.c 3602ad0575 1.First upload. il y a 5 ans
cli-channel.o 3602ad0575 1.First upload. il y a 5 ans
cli-chansession.c 3602ad0575 1.First upload. il y a 5 ans
cli-chansession.o 3602ad0575 1.First upload. il y a 5 ans
cli-kex.c cb205fbfcd [Add][Modularization / GPL][Module_PowerSharing / dbclient] il y a 3 ans
cli-kex.o cb205fbfcd [Add][Modularization / GPL][Module_PowerSharing / dbclient] il y a 3 ans
cli-main.c 3602ad0575 1.First upload. il y a 5 ans
cli-main.o 3602ad0575 1.First upload. il y a 5 ans
cli-runopts.c 3602ad0575 1.First upload. il y a 5 ans
cli-runopts.o 3602ad0575 1.First upload. il y a 5 ans
cli-session.c 3602ad0575 1.First upload. il y a 5 ans
cli-session.o 3602ad0575 1.First upload. il y a 5 ans
cli-tcpfwd.c 3602ad0575 1.First upload. il y a 5 ans
cli-tcpfwd.o 3602ad0575 1.First upload. il y a 5 ans
common-algo.c 3602ad0575 1.First upload. il y a 5 ans
common-algo.o 3602ad0575 1.First upload. il y a 5 ans
common-channel.c 3602ad0575 1.First upload. il y a 5 ans
common-channel.o 3602ad0575 1.First upload. il y a 5 ans
common-chansession.c 3602ad0575 1.First upload. il y a 5 ans
common-chansession.o 3602ad0575 1.First upload. il y a 5 ans
common-kex.c 3602ad0575 1.First upload. il y a 5 ans
common-kex.o 3602ad0575 1.First upload. il y a 5 ans
common-runopts.c 3602ad0575 1.First upload. il y a 5 ans
common-runopts.o 3602ad0575 1.First upload. il y a 5 ans
common-session.c 3602ad0575 1.First upload. il y a 5 ans
common-session.o 3602ad0575 1.First upload. il y a 5 ans
compat.c 3602ad0575 1.First upload. il y a 5 ans
compat.h 3602ad0575 1.First upload. il y a 5 ans
compat.o 3602ad0575 1.First upload. il y a 5 ans
config.guess 3602ad0575 1.First upload. il y a 5 ans
config.h 3602ad0575 1.First upload. il y a 5 ans
config.h.in 3602ad0575 1.First upload. il y a 5 ans
config.log cb205fbfcd [Add][Modularization / GPL][Module_PowerSharing / dbclient] il y a 3 ans
config.status 3602ad0575 1.First upload. il y a 5 ans
config.sub 3602ad0575 1.First upload. il y a 5 ans
configure 3602ad0575 1.First upload. il y a 5 ans
configure.ac 3602ad0575 1.First upload. il y a 5 ans
crypto_desc.c 3602ad0575 1.First upload. il y a 5 ans
crypto_desc.h 3602ad0575 1.First upload. il y a 5 ans
crypto_desc.o 3602ad0575 1.First upload. il y a 5 ans
curve25519-donna.c 3602ad0575 1.First upload. il y a 5 ans
curve25519-donna.o 3602ad0575 1.First upload. il y a 5 ans
dbclient cb205fbfcd [Add][Modularization / GPL][Module_PowerSharing / dbclient] il y a 3 ans
dbclient.1 3602ad0575 1.First upload. il y a 5 ans
dbhelpers.c 3602ad0575 1.First upload. il y a 5 ans
dbhelpers.h 3602ad0575 1.First upload. il y a 5 ans
dbhelpers.o 3602ad0575 1.First upload. il y a 5 ans
dbmulti.c 3602ad0575 1.First upload. il y a 5 ans
dbrandom.c 3602ad0575 1.First upload. il y a 5 ans
dbrandom.h 3602ad0575 1.First upload. il y a 5 ans
dbrandom.o 3602ad0575 1.First upload. il y a 5 ans
dbutil.c 3602ad0575 1.First upload. il y a 5 ans
dbutil.h 3602ad0575 1.First upload. il y a 5 ans
dbutil.o 3602ad0575 1.First upload. il y a 5 ans
debug.h 3602ad0575 1.First upload. il y a 5 ans
dh_groups.c 3602ad0575 1.First upload. il y a 5 ans
dh_groups.h 3602ad0575 1.First upload. il y a 5 ans
dh_groups.o 3602ad0575 1.First upload. il y a 5 ans
dropbear 3602ad0575 1.First upload. il y a 5 ans
dropbear.8 3602ad0575 1.First upload. il y a 5 ans
dropbearconvert 3602ad0575 1.First upload. il y a 5 ans
dropbearconvert.1 3602ad0575 1.First upload. il y a 5 ans
dropbearconvert.c 3602ad0575 1.First upload. il y a 5 ans
dropbearconvert.o 3602ad0575 1.First upload. il y a 5 ans
dropbearkey 3602ad0575 1.First upload. il y a 5 ans
dropbearkey.1 3602ad0575 1.First upload. il y a 5 ans
dropbearkey.c 3602ad0575 1.First upload. il y a 5 ans
dropbearkey.o 3602ad0575 1.First upload. il y a 5 ans
dss.c 3602ad0575 1.First upload. il y a 5 ans
dss.h 3602ad0575 1.First upload. il y a 5 ans
dss.o 3602ad0575 1.First upload. il y a 5 ans
ecc.c 3602ad0575 1.First upload. il y a 5 ans
ecc.h 3602ad0575 1.First upload. il y a 5 ans
ecc.o 3602ad0575 1.First upload. il y a 5 ans
ecdsa.c 3602ad0575 1.First upload. il y a 5 ans
ecdsa.h 3602ad0575 1.First upload. il y a 5 ans
ecdsa.o 3602ad0575 1.First upload. il y a 5 ans
fake-rfc2553.c 3602ad0575 1.First upload. il y a 5 ans
fake-rfc2553.h 3602ad0575 1.First upload. il y a 5 ans
fake-rfc2553.o 3602ad0575 1.First upload. il y a 5 ans
filelist.txt 3602ad0575 1.First upload. il y a 5 ans
gendss.c 3602ad0575 1.First upload. il y a 5 ans
gendss.h 3602ad0575 1.First upload. il y a 5 ans
gendss.o 3602ad0575 1.First upload. il y a 5 ans
genrsa.c 3602ad0575 1.First upload. il y a 5 ans
genrsa.h 3602ad0575 1.First upload. il y a 5 ans
genrsa.o 3602ad0575 1.First upload. il y a 5 ans
gensignkey.c 3602ad0575 1.First upload. il y a 5 ans
gensignkey.h 3602ad0575 1.First upload. il y a 5 ans
gensignkey.o 3602ad0575 1.First upload. il y a 5 ans
includes.h 3602ad0575 1.First upload. il y a 5 ans
install-sh 3602ad0575 1.First upload. il y a 5 ans
kex.h 3602ad0575 1.First upload. il y a 5 ans
keyimport.c 3602ad0575 1.First upload. il y a 5 ans
keyimport.h 3602ad0575 1.First upload. il y a 5 ans
keyimport.o 3602ad0575 1.First upload. il y a 5 ans
list.c 3602ad0575 1.First upload. il y a 5 ans
list.h 3602ad0575 1.First upload. il y a 5 ans
list.o 3602ad0575 1.First upload. il y a 5 ans
listener.c 3602ad0575 1.First upload. il y a 5 ans
listener.h 3602ad0575 1.First upload. il y a 5 ans
listener.o 3602ad0575 1.First upload. il y a 5 ans
loginrec.c 3602ad0575 1.First upload. il y a 5 ans
loginrec.h 3602ad0575 1.First upload. il y a 5 ans
loginrec.o 3602ad0575 1.First upload. il y a 5 ans
ltc_prng.c 3602ad0575 1.First upload. il y a 5 ans
ltc_prng.h 3602ad0575 1.First upload. il y a 5 ans
ltc_prng.o 3602ad0575 1.First upload. il y a 5 ans
netio.c 3602ad0575 1.First upload. il y a 5 ans
netio.h 3602ad0575 1.First upload. il y a 5 ans
netio.o 3602ad0575 1.First upload. il y a 5 ans
options.h 3602ad0575 1.First upload. il y a 5 ans
packet.c 3602ad0575 1.First upload. il y a 5 ans
packet.h 3602ad0575 1.First upload. il y a 5 ans
packet.o 3602ad0575 1.First upload. il y a 5 ans
process-packet.c 3602ad0575 1.First upload. il y a 5 ans
process-packet.o 3602ad0575 1.First upload. il y a 5 ans
progressmeter.c 3602ad0575 1.First upload. il y a 5 ans
progressmeter.h 3602ad0575 1.First upload. il y a 5 ans
progressmeter.o 3602ad0575 1.First upload. il y a 5 ans
queue.c 3602ad0575 1.First upload. il y a 5 ans
queue.h 3602ad0575 1.First upload. il y a 5 ans
queue.o 3602ad0575 1.First upload. il y a 5 ans
release.sh 3602ad0575 1.First upload. il y a 5 ans
rsa.c 3602ad0575 1.First upload. il y a 5 ans
rsa.h 3602ad0575 1.First upload. il y a 5 ans
rsa.o 3602ad0575 1.First upload. il y a 5 ans
runopts.h 3602ad0575 1.First upload. il y a 5 ans
scp 3602ad0575 1.First upload. il y a 5 ans
scp.c 3602ad0575 1.First upload. il y a 5 ans
scp.o 3602ad0575 1.First upload. il y a 5 ans
scpmisc.c 3602ad0575 1.First upload. il y a 5 ans
scpmisc.h 3602ad0575 1.First upload. il y a 5 ans
scpmisc.o 3602ad0575 1.First upload. il y a 5 ans
service.h 3602ad0575 1.First upload. il y a 5 ans
session.h 3602ad0575 1.First upload. il y a 5 ans
signkey.c 3602ad0575 1.First upload. il y a 5 ans
signkey.h 3602ad0575 1.First upload. il y a 5 ans
signkey.o 3602ad0575 1.First upload. il y a 5 ans
ssh.h 3602ad0575 1.First upload. il y a 5 ans
sshpty.c 3602ad0575 1.First upload. il y a 5 ans
sshpty.h 3602ad0575 1.First upload. il y a 5 ans
sshpty.o 3602ad0575 1.First upload. il y a 5 ans
svr-agentfwd.c 3602ad0575 1.First upload. il y a 5 ans
svr-agentfwd.o 3602ad0575 1.First upload. il y a 5 ans
svr-auth.c 3602ad0575 1.First upload. il y a 5 ans
svr-auth.o 3602ad0575 1.First upload. il y a 5 ans
svr-authpam.c 3602ad0575 1.First upload. il y a 5 ans
svr-authpam.o 3602ad0575 1.First upload. il y a 5 ans
svr-authpasswd.c 3602ad0575 1.First upload. il y a 5 ans
svr-authpasswd.o 3602ad0575 1.First upload. il y a 5 ans
svr-authpubkey.c 3602ad0575 1.First upload. il y a 5 ans
svr-authpubkey.o 3602ad0575 1.First upload. il y a 5 ans
svr-authpubkeyoptions.c 3602ad0575 1.First upload. il y a 5 ans
svr-authpubkeyoptions.o 3602ad0575 1.First upload. il y a 5 ans
svr-chansession.c 3602ad0575 1.First upload. il y a 5 ans
svr-chansession.o 3602ad0575 1.First upload. il y a 5 ans
svr-kex.c 3602ad0575 1.First upload. il y a 5 ans
svr-kex.o 3602ad0575 1.First upload. il y a 5 ans
svr-main.c 3602ad0575 1.First upload. il y a 5 ans
svr-main.o 3602ad0575 1.First upload. il y a 5 ans
svr-runopts.c 3602ad0575 1.First upload. il y a 5 ans
svr-runopts.o 3602ad0575 1.First upload. il y a 5 ans
svr-service.c 3602ad0575 1.First upload. il y a 5 ans
svr-service.o 3602ad0575 1.First upload. il y a 5 ans
svr-session.c 3602ad0575 1.First upload. il y a 5 ans
svr-session.o 3602ad0575 1.First upload. il y a 5 ans
svr-tcpfwd.c 3602ad0575 1.First upload. il y a 5 ans
svr-tcpfwd.o 3602ad0575 1.First upload. il y a 5 ans
svr-x11fwd.c 3602ad0575 1.First upload. il y a 5 ans
svr-x11fwd.o 3602ad0575 1.First upload. il y a 5 ans
sysoptions.h 3602ad0575 1.First upload. il y a 5 ans
tcp-accept.c 3602ad0575 1.First upload. il y a 5 ans
tcp-accept.o 3602ad0575 1.First upload. il y a 5 ans
tcpfwd.h 3602ad0575 1.First upload. il y a 5 ans
termcodes.c 3602ad0575 1.First upload. il y a 5 ans
termcodes.h 3602ad0575 1.First upload. il y a 5 ans
termcodes.o 3602ad0575 1.First upload. il y a 5 ans
x11fwd.h 3602ad0575 1.First upload. il y a 5 ans

README

This is Dropbear, a smallish SSH server and client.
https://matt.ucc.asn.au/dropbear/dropbear.html

INSTALL has compilation instructions.

MULTI has instructions on making a multi-purpose binary (ie a single binary
which performs multiple tasks, to save disk space)

SMALL has some tips on creating small binaries.

See TODO for a few of the things I know need looking at, and please contact
me if you have any questions/bugs found/features/ideas/comments etc :)

Matt Johnston
matt@ucc.asn.au


In the absence of detailed documentation, some notes follow:
============================================================================

Server public key auth:

You can use ~/.ssh/authorized_keys in the same way as with OpenSSH, just put
the key entries in that file. They should be of the form:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAwVa6M6cGVmUcLl2cFzkxEoJd06Ub4bVDsYrWvXhvUV+ZAM9uGuewZBDoAqNKJxoIn0Hyd0Nk/yU99UVv6NWV/5YSHtnf35LKds56j7cuzoQpFIdjNwdxAN0PCET/MG8qyskG/2IE2DPNIaJ3Wy+Ws4IZEgdJgPlTYUBWWtCWOGc= someone@hostname

You must make sure that ~/.ssh, and the key file, are only writable by the
user. Beware of editors that split the key into multiple lines.

Dropbear supports some options for authorized_keys entries, see the manpage.

============================================================================

Client public key auth:

Dropbear can do public key auth as a client, but you will have to convert
OpenSSH style keys to Dropbear format, or use dropbearkey to create them.

If you have an OpenSSH-style private key ~/.ssh/id_rsa, you need to do:

dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_rsa.db
dbclient -i ~/.ssh/id_rsa.db

Dropbear does not support encrypted hostkeys though can connect to ssh-agent.

============================================================================

If you want to get the public-key portion of a Dropbear private key, look at
dropbearkey's '-y' option.

============================================================================

To run the server, you need to server keys, this is one-off:
./dropbearkey -t rsa -f dropbear_rsa_host_key
./dropbearkey -t dss -f dropbear_dss_host_key
./dropbearkey -t ecdsa -f dropbear_ecdsa_host_key

or alternatively convert OpenSSH keys to Dropbear:
./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key

You can also get Dropbear to create keys when the first connection is made -
this is preferable to generating keys when the system boots. Make sure
/etc/dropbear/ exists and then pass '-R' to the dropbear server.

============================================================================

If the server is run as non-root, you most likely won't be able to allocate a
pty, and you cannot login as any user other than that running the daemon
(obviously). Shadow passwords will also be unusable as non-root.

============================================================================

The Dropbear distribution includes a standalone version of OpenSSH's scp
program. You can compile it with "make scp", you may want to change the path
of the ssh binary, specified by _PATH_SSH_PROGRAM in options.h . By default
the progress meter isn't compiled in to save space, you can enable it by
adding 'SCPPROGRESS=1' to the make commandline.