mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-27 23:53:26 +08:00
b1715dc0cf
- markus@cvs.openbsd.org [session.c] make x11-fwd work w/ localhost (xauth add host/unix:11) [cipher.c compat.c readconf.c servconf.c] check strtok() != NULL; ok niels@ [key.c] fix key_read() for uuencoded keys w/o '=' [serverloop.c] group ssh1 vs. ssh2 in serverloop [kex.c kex.h myproposal.h sshconnect2.c sshd.c] split kexinit/kexdh, factor out common code [readconf.c ssh.1 ssh.c] forwardagent defaults to no, add ssh -A - theo@cvs.openbsd.org [session.c] just some line shortening
21 lines
542 B
C
21 lines
542 B
C
#define KEX_DEFAULT_KEX "diffie-hellman-group1-sha1"
|
|
#define KEX_DEFAULT_PK_ALG "ssh-dss"
|
|
#define KEX_DEFAULT_ENCRYPT "3des-cbc,blowfish-cbc,arcfour,cast128-cbc"
|
|
#define KEX_DEFAULT_MAC "hmac-sha1,hmac-md5,hmac-ripemd160@openssh.com"
|
|
#define KEX_DEFAULT_COMP "zlib,none"
|
|
#define KEX_DEFAULT_LANG ""
|
|
|
|
|
|
static char *myproposal[PROPOSAL_MAX] = {
|
|
KEX_DEFAULT_KEX,
|
|
KEX_DEFAULT_PK_ALG,
|
|
KEX_DEFAULT_ENCRYPT,
|
|
KEX_DEFAULT_ENCRYPT,
|
|
KEX_DEFAULT_MAC,
|
|
KEX_DEFAULT_MAC,
|
|
KEX_DEFAULT_COMP,
|
|
KEX_DEFAULT_COMP,
|
|
KEX_DEFAULT_LANG,
|
|
KEX_DEFAULT_LANG
|
|
};
|