2
===================================================================
6
return decode_reply(type);
10
-ssh_add_identity(AuthenticationConnection *auth, Key *key, const char *comment)
12
- return ssh_add_identity_constrained(auth, key, comment, 0, 0);
16
* Removes an identity from the authentication server. This call is not
17
* meant to be used by normal applications.
19
===================================================================
23
int ssh_get_num_identities(AuthenticationConnection *, int);
24
Key *ssh_get_first_identity(AuthenticationConnection *, char **, int);
25
Key *ssh_get_next_identity(AuthenticationConnection *, char **, int);
26
-int ssh_add_identity(AuthenticationConnection *, Key *, const char *);
27
int ssh_add_identity_constrained(AuthenticationConnection *, Key *,
28
const char *, u_int, u_int);
29
int ssh_remove_identity(AuthenticationConnection *, Key *);
31
===================================================================
37
"The user has to confirm each use of the key\n");
38
- } else if (ssh_add_identity(ac, private, comment)) {
39
- fprintf(stderr, "Identity added: %s (%s)\n", filename, comment);
42
fprintf(stderr, "Could not add identity: %s\n", filename);