diff options
Diffstat (limited to 'ssh-add.0')
-rw-r--r-- | ssh-add.0 | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -4,7 +4,7 @@ NAME | |||
4 | ssh-add - adds RSA or DSA identities to the authentication agent | 4 | ssh-add - adds RSA or DSA identities to the authentication agent |
5 | 5 | ||
6 | SYNOPSIS | 6 | SYNOPSIS |
7 | ssh-add [-lLdDxXc] [-t life] [file ...] | 7 | ssh-add [-cDdLlXx] [-t life] [file ...] |
8 | ssh-add -s reader | 8 | ssh-add -s reader |
9 | ssh-add -e reader | 9 | ssh-add -e reader |
10 | 10 | ||
@@ -22,37 +22,37 @@ DESCRIPTION | |||
22 | 22 | ||
23 | The options are as follows: | 23 | The options are as follows: |
24 | 24 | ||
25 | -l Lists fingerprints of all identities currently represented by the | 25 | -c Indicates that added identities should be subject to confirmation |
26 | agent. | 26 | before being used for authentication. Confirmation is performed |
27 | by the SSH_ASKPASS program mentioned below. Successful confirma- | ||
28 | tion is signaled by a zero exit status from the SSH_ASKPASS pro- | ||
29 | gram, rather than text entered into the requester. | ||
27 | 30 | ||
28 | -L Lists public key parameters of all identities currently repre- | 31 | -D Deletes all identities from the agent. |
29 | sented by the agent. | ||
30 | 32 | ||
31 | -d Instead of adding the identity, removes the identity from the | 33 | -d Instead of adding the identity, removes the identity from the |
32 | agent. | 34 | agent. |
33 | 35 | ||
34 | -D Deletes all identities from the agent. | 36 | -e reader |
37 | Remove key in smartcard reader. | ||
35 | 38 | ||
36 | -x Lock the agent with a password. | 39 | -L Lists public key parameters of all identities currently repre- |
40 | sented by the agent. | ||
37 | 41 | ||
38 | -X Unlock the agent. | 42 | -l Lists fingerprints of all identities currently represented by the |
43 | agent. | ||
44 | |||
45 | -s reader | ||
46 | Add key in smartcard reader. | ||
39 | 47 | ||
40 | -t life | 48 | -t life |
41 | Set a maximum lifetime when adding identities to an agent. The | 49 | Set a maximum lifetime when adding identities to an agent. The |
42 | lifetime may be specified in seconds or in a time format speci- | 50 | lifetime may be specified in seconds or in a time format speci- |
43 | fied in sshd_config(5). | 51 | fied in sshd_config(5). |
44 | 52 | ||
45 | -c Indicates that added identities should be subject to confirmation | 53 | -X Unlock the agent. |
46 | before being used for authentication. Confirmation is performed | ||
47 | by the SSH_ASKPASS program mentioned below. Successful confirma- | ||
48 | tion is signaled by a zero exit status from the SSH_ASKPASS pro- | ||
49 | gram, rather than text entered into the requester. | ||
50 | |||
51 | -s reader | ||
52 | Add key in smartcard reader. | ||
53 | 54 | ||
54 | -e reader | 55 | -x Lock the agent with a password. |
55 | Remove key in smartcard reader. | ||
56 | 56 | ||
57 | ENVIRONMENT | 57 | ENVIRONMENT |
58 | DISPLAY and SSH_ASKPASS | 58 | DISPLAY and SSH_ASKPASS |
@@ -61,7 +61,7 @@ ENVIRONMENT | |||
61 | does not have a terminal associated with it but DISPLAY and | 61 | does not have a terminal associated with it but DISPLAY and |
62 | SSH_ASKPASS are set, it will execute the program specified by | 62 | SSH_ASKPASS are set, it will execute the program specified by |
63 | SSH_ASKPASS and open an X11 window to read the passphrase. This | 63 | SSH_ASKPASS and open an X11 window to read the passphrase. This |
64 | is particularly useful when calling ssh-add from a .Xsession or | 64 | is particularly useful when calling ssh-add from a .xsession or |
65 | related script. (Note that on some machines it may be necessary | 65 | related script. (Note that on some machines it may be necessary |
66 | to redirect the input from /dev/null to make this work.) | 66 | to redirect the input from /dev/null to make this work.) |
67 | 67 | ||