version 1.57, 2018/09/12 01:34:02 |
version 1.58, 2019/02/23 08:20:43 |
|
|
|
|
#ifdef WITH_OPENSSL |
#ifdef WITH_OPENSSL |
|
|
#define KEX_COMMON_KEX \ |
#define KEX_SERVER_KEX \ |
"curve25519-sha256," \ |
"curve25519-sha256," \ |
"curve25519-sha256@libssh.org," \ |
"curve25519-sha256@libssh.org," \ |
"ecdh-sha2-nistp256," \ |
"ecdh-sha2-nistp256," \ |
|
|
"ecdh-sha2-nistp521," \ |
"ecdh-sha2-nistp521," \ |
"diffie-hellman-group-exchange-sha256," \ |
"diffie-hellman-group-exchange-sha256," \ |
"diffie-hellman-group16-sha512," \ |
"diffie-hellman-group16-sha512," \ |
"diffie-hellman-group18-sha512" \ |
"diffie-hellman-group18-sha512," \ |
|
|
#define KEX_SERVER_KEX KEX_COMMON_KEX "," \ |
|
"diffie-hellman-group14-sha256," \ |
"diffie-hellman-group14-sha256," \ |
"diffie-hellman-group14-sha1" |
"diffie-hellman-group14-sha1" |
|
|
#define KEX_CLIENT_KEX KEX_COMMON_KEX "," \ |
#define KEX_CLIENT_KEX KEX_SERVER_KEX |
"diffie-hellman-group-exchange-sha1," \ |
|
"diffie-hellman-group14-sha256," \ |
|
"diffie-hellman-group14-sha1" |
|
|
|
#define KEX_DEFAULT_PK_ALG \ |
#define KEX_DEFAULT_PK_ALG \ |
"ecdsa-sha2-nistp256-cert-v01@openssh.com," \ |
"ecdsa-sha2-nistp256-cert-v01@openssh.com," \ |