SSH: added agent based authentication

CURLSSH_AUTH_AGENT is a new auth type for SSH
This commit is contained in:
Armel Asselin 2012-03-09 17:24:42 +01:00 committed by Daniel Stenberg
parent 021e89b8c6
commit e351972bc8
3 changed files with 121 additions and 3 deletions

View file

@ -631,6 +631,7 @@ typedef enum {
#define CURLSSH_AUTH_PASSWORD (1<<1) /* password */
#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_DEFAULT CURLSSH_AUTH_ANY
#define CURLGSSAPI_DELEGATION_NONE 0 /* no delegation (default) */