diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 21:54:57 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 21:54:57 +0000 |
commit | 61d328acf9d0adcb10a254d072dafa84fb14b78f (patch) | |
tree | 974cd00f825192cda0f43acf3f82579d431eab5a /authfd.h | |
parent | 163f3b8f6be475e4fc28358846d0bed7bf0587e4 (diff) |
- markus@cvs.openbsd.org 2002/06/05 21:55:44
[authfd.c authfd.h ssh-add.1 ssh-add.c ssh-agent.c]
ssh-add -t life, Set lifetime (in seconds) when adding identities;
ok provos@
Diffstat (limited to 'authfd.h')
-rw-r--r-- | authfd.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.h,v 1.25 2002/06/05 19:57:12 markus Exp $ */ | 1 | /* $OpenBSD: authfd.h,v 1.26 2002/06/05 21:55:44 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -46,6 +46,10 @@ | |||
46 | #define SSH_AGENTC_LOCK 22 | 46 | #define SSH_AGENTC_LOCK 22 |
47 | #define SSH_AGENTC_UNLOCK 23 | 47 | #define SSH_AGENTC_UNLOCK 23 |
48 | 48 | ||
49 | /* set key lifetime */ | ||
50 | #define SSH_AGENTC_LIFETIME_IDENTITY1 24 | ||
51 | #define SSH_AGENTC_LIFETIME_IDENTITY 25 | ||
52 | |||
49 | /* extended failure messages */ | 53 | /* extended failure messages */ |
50 | #define SSH2_AGENT_FAILURE 30 | 54 | #define SSH2_AGENT_FAILURE 30 |
51 | 55 | ||
@@ -69,6 +73,7 @@ int ssh_get_num_identities(AuthenticationConnection *, int); | |||
69 | Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); | 73 | Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); |
70 | Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); | 74 | Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); |
71 | int ssh_add_identity(AuthenticationConnection *, Key *, const char *); | 75 | int ssh_add_identity(AuthenticationConnection *, Key *, const char *); |
76 | int ssh_lifetime_identity(AuthenticationConnection *, Key *, u_int); | ||
72 | int ssh_remove_identity(AuthenticationConnection *, Key *); | 77 | int ssh_remove_identity(AuthenticationConnection *, Key *); |
73 | int ssh_remove_all_identities(AuthenticationConnection *, int); | 78 | int ssh_remove_all_identities(AuthenticationConnection *, int); |
74 | int ssh_lock_agent(AuthenticationConnection *, int, const char *); | 79 | int ssh_lock_agent(AuthenticationConnection *, int, const char *); |