summaryrefslogtreecommitdiff
path: root/ssh-add.0
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.0')
-rw-r--r--ssh-add.036
1 files changed, 18 insertions, 18 deletions
diff --git a/ssh-add.0 b/ssh-add.0
index 95929d4d3..b0096423d 100644
--- a/ssh-add.0
+++ b/ssh-add.0
@@ -54,21 +54,6 @@ DESCRIPTION
54 -e reader 54 -e reader
55 Remove key in smartcard reader. 55 Remove key in smartcard reader.
56 56
57ENVIRONMENT
58 DISPLAY and SSH_ASKPASS
59 If ssh-add needs a passphrase, it will read the passphrase from
60 the current terminal if it was run from a terminal. If ssh-add
61 does not have a terminal associated with it but DISPLAY and
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
64 is particularly useful when calling ssh-add from a .Xsession or
65 related script. (Note that on some machines it may be necessary
66 to redirect the input from /dev/null to make this work.)
67
68 SSH_AUTH_SOCK
69 Identifies the path of a unix-domain socket used to communicate
70 with the agent.
71
72FILES 57FILES
73 $HOME/.ssh/identity 58 $HOME/.ssh/identity
74 Contains the protocol version 1 RSA authentication identity of 59 Contains the protocol version 1 RSA authentication identity of
@@ -85,13 +70,25 @@ FILES
85 Identity files should not be readable by anyone but the user. Note that 70 Identity files should not be readable by anyone but the user. Note that
86 ssh-add ignores identity files if they are accessible by others. 71 ssh-add ignores identity files if they are accessible by others.
87 72
73ENVIRONMENT
74 DISPLAY and SSH_ASKPASS
75 If ssh-add needs a passphrase, it will read the passphrase from
76 the current terminal if it was run from a terminal. If ssh-add
77 does not have a terminal associated with it but DISPLAY and
78 SSH_ASKPASS are set, it will execute the program specified by
79 SSH_ASKPASS and open an X11 window to read the passphrase. This
80 is particularly useful when calling ssh-add from a .Xsession or
81 related script. (Note that on some machines it may be necessary
82 to redirect the input from /dev/null to make this work.)
83
84 SSH_AUTH_SOCK
85 Identifies the path of a unix-domain socket used to communicate
86 with the agent.
87
88DIAGNOSTICS 88DIAGNOSTICS
89 Exit status is 0 on success, 1 if the specified command fails, and 2 if 89 Exit status is 0 on success, 1 if the specified command fails, and 2 if
90 ssh-add is unable to contact the authentication agent. 90 ssh-add is unable to contact the authentication agent.
91 91
92SEE ALSO
93 ssh(1), ssh-agent(1), ssh-keygen(1), sshd(8)
94
95AUTHORS 92AUTHORS
96 OpenSSH is a derivative of the original and free ssh 1.2.12 release by 93 OpenSSH is a derivative of the original and free ssh 1.2.12 release by
97 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo 94 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo
@@ -99,4 +96,7 @@ AUTHORS
99 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 96 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
100 versions 1.5 and 2.0. 97 versions 1.5 and 2.0.
101 98
99SEE ALSO
100 ssh(1), ssh-agent(1), ssh-keygen(1), sshd(8)
101
102BSD September 25, 1999 BSD 102BSD September 25, 1999 BSD