diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-10-23 13:49:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-12-01 17:35:14 +0100 |
commit | c92d2e14cfb0db662f958effd2ac86f995cf1b5a (patch) | |
tree | a5352cc296c3f7230dc0e34391262941b070feda /include | |
parent | 3973ee6a654e96c027afee86037680334b24e709 (diff) |
Added support for libssh SSH SCP back-end
libssh is an alternative library to libssh2.
https://www.libssh.org/
That patch set also introduces support for ECDSA
ed25519 keys, as well as gssapi authentication.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 9ad5c20df..f4bf357bf 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -715,6 +715,7 @@ typedef enum { #define CURLSSH_AUTH_HOST (1<<2) /* host key files */ #define CURLSSH_AUTH_KEYBOARD (1<<3) /* keyboard interactive */ #define CURLSSH_AUTH_AGENT (1<<4) /* agent (ssh-agent, pageant...) */ +#define CURLSSH_AUTH_GSSAPI (1<<5) /* gssapi (kerberos, ...) */ #define CURLSSH_AUTH_DEFAULT CURLSSH_AUTH_ANY #define CURLGSSAPI_DELEGATION_NONE 0 /* no delegation (default) */ @@ -727,7 +728,9 @@ enum curl_khtype { CURLKHTYPE_UNKNOWN, CURLKHTYPE_RSA1, CURLKHTYPE_RSA, - CURLKHTYPE_DSS + CURLKHTYPE_DSS, + CURLKHTYPE_ECDSA, + CURLKHTYPE_ED25519 }; struct curl_khkey { |