Folus Wen 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
..
.github 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
debian 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
fuzz 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
libtomcrypt 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
libtommath 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
release 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
test 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
.gitignore 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
.hgignore 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
.hgsigs 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
.hgtags 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
CHANGES 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
DEVELOPING.md 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
FUZZER-NOTES.md 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
INSTALL 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
LICENSE 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
MULTI 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
Makefile.in 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
README 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
SMALL 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
agentfwd.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
algo.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
atomicio.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
atomicio.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
auth.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
bignum.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
bignum.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
buffer.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
buffer.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
chachapoly.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
chachapoly.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
channel.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
chansession.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
circbuffer.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
circbuffer.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-agentfwd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-auth.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-authinteract.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-authpasswd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-authpubkey.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-channel.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-chansession.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-kex.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-main.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-runopts.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-session.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
cli-tcpfwd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
common-algo.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
common-channel.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
common-chansession.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
common-kex.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
common-runopts.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
common-session.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
compat.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
compat.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
config.guess 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
config.h.in 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
config.sub 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
configure 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
configure.ac 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
crypto_desc.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
crypto_desc.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
curve25519.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
curve25519.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbclient.1 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbhelpers.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbhelpers.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbmalloc.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbmalloc.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbmulti.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbrandom.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbrandom.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbutil.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dbutil.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
debug.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
default_options.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dh_groups.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dh_groups.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dropbear.8 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dropbear_lint.sh 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dropbearconvert.1 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dropbearconvert.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dropbearkey.1 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dropbearkey.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dss.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
dss.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ecc.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ecc.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ecdsa.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ecdsa.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ed25519.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ed25519.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
fake-rfc2553.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
fake-rfc2553.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
filelist.txt 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
fuzz-wrapfd.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
fuzz.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
fuzzers_test.sh 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gcm.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gcm.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gendss.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gendss.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gened25519.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gened25519.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
genrsa.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
genrsa.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gensignkey.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
gensignkey.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ifndef_wrapper.sh 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
includes.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
install-sh 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
kex.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
keyimport.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
keyimport.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
list.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
list.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
listener.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
listener.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
loginrec.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
loginrec.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ltc_prng.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ltc_prng.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
netio.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
netio.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
options.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
packet.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
packet.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
process-packet.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
progressmeter.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
progressmeter.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
pubkeyapi.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
queue.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
queue.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
release.sh 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
rsa.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
rsa.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
runopts.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
scp.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
scpmisc.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
scpmisc.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
service.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
session.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
signkey.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
signkey.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
signkey_ossh.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
signkey_ossh.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sk-ecdsa.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sk-ecdsa.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sk-ed25519.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sk-ed25519.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
ssh.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sshpty.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sshpty.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-agentfwd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-auth.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-authpam.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-authpasswd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-authpubkey.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-authpubkeyoptions.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-chansession.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-kex.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-main.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-runopts.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-service.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-session.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-tcpfwd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
svr-x11fwd.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
sysoptions.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
tcp-accept.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
tcpfwd.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
termcodes.c 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
termcodes.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce
x11fwd.h 3c1544b7f9 [Improve][GPL][Dropbear] 2 yıl önce

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.

Please contact me if you have any questions/bugs found/features/ideas/comments etc :)
There is also a mailing list http://lists.ucc.gu.uwa.edu.au/mailman/listinfo/dropbear

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 generate 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
./dropbearkey -t ed25519 -f dropbear_ed25519_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.