version 1.80, 2020/06/26 05:04:07 |
version 1.81, 2020/07/14 23:57:01 |
|
|
.El |
.El |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Ev "DISPLAY" and "SSH_ASKPASS" |
.It Ev "DISPLAY", "SSH_ASKPASS" and "SSH_ASKPASS_REQUIRE" |
If |
If |
.Nm |
.Nm |
needs a passphrase, it will read the passphrase from the current |
needs a passphrase, it will read the passphrase from the current |
|
|
from a |
from a |
.Pa .xsession |
.Pa .xsession |
or related script. |
or related script. |
(Note that on some machines it |
.Pp |
may be necessary to redirect the input from |
.Ev SSH_ASKPASS_REQUIRE |
.Pa /dev/null |
allows further control over the use of an askpass program. |
to make this work.) |
If this variable is set to |
|
.Dq never |
|
then |
|
.Nm |
|
will never attempt to use one. |
|
If it is set to |
|
.Dq prefer , |
|
then |
|
.Nm |
|
will prefer to use the askpass program instead of the TTY when requesting |
|
passwords. |
|
Finally, if the variable is set to |
|
.Dq force , |
|
then the askpass program will be used for all passphrase input regardless |
|
of whether |
|
.Ev DISPLAY |
|
is set. |
.It Ev SSH_AUTH_SOCK |
.It Ev SSH_AUTH_SOCK |
Identifies the path of a |
Identifies the path of a |
.Ux Ns -domain |
.Ux Ns -domain |