comparison auth.h @ 552:de3653483ac0 agent-client

- Client auth using an agent's key works. Still need to implement client agent forwarding.
author Matt Johnston <matt@ucc.asn.au>
date Mon, 06 Jul 2009 14:02:45 +0000
parents c3f2ec71e3d4
children b321aeb57c64
comparison
equal deleted inserted replaced
551:c3f2ec71e3d4 552:de3653483ac0
72 void cli_pubkeyfail(); 72 void cli_pubkeyfail();
73 void cli_auth_password(); 73 void cli_auth_password();
74 int cli_auth_pubkey(); 74 int cli_auth_pubkey();
75 void cli_auth_interactive(); 75 void cli_auth_interactive();
76 char* getpass_or_cancel(char* prompt); 76 char* getpass_or_cancel(char* prompt);
77 void cli_auth_pubkey_cleanup();
77 78
78 79
79 #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */ 80 #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */
80 81
81 #define AUTH_TYPE_NONE 1 82 #define AUTH_TYPE_NONE 1