mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Pubkey auth is mostly there for the client. Something strange with
remote hostkey verification though. --HG-- extra : convert_revision : 8635abe49e499e16d44a8ee79d474dc35257e9cc
This commit is contained in:
10
session.h
10
session.h
@@ -194,7 +194,6 @@ typedef enum {
|
||||
SERVICE_AUTH_ACCEPT_RCVD,
|
||||
SERVICE_CONN_REQ_SENT,
|
||||
SERVICE_CONN_ACCEPT_RCVD,
|
||||
USERAUTH_METHODS_SENT,
|
||||
USERAUTH_REQ_SENT,
|
||||
USERAUTH_FAIL_RCVD,
|
||||
USERAUTH_SUCCESS_RCVD,
|
||||
@@ -215,6 +214,15 @@ struct clientsession {
|
||||
|
||||
int winchange; /* Set to 1 when a windowchange signal happens */
|
||||
|
||||
struct PubkeyList *pubkeys; /* Keys to use for public-key auth */
|
||||
int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
|
||||
for the last type of auth we tried */
|
||||
struct PubkeyList *lastpubkey;
|
||||
#if 0
|
||||
TODO
|
||||
struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/* Global structs storing the state */
|
||||
|
||||
Reference in New Issue
Block a user