diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-06-26 17:25:35 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-06-26 17:25:35 +0000 |
commit | 1ed9d56f5da69187ea4ccdccf6157ae98f5c401d (patch) | |
tree | 959a92bacd2f7e67bfd2e3ba1ae2d192efb6cc3c /usr.bin/ssh/ssh.1 | |
parent | 21a2511981b4532d891e3492a7cd5571c44726b1 (diff) |
document SSH_ASKPASS; fubob@MIT.EDU
Diffstat (limited to 'usr.bin/ssh/ssh.1')
-rw-r--r-- | usr.bin/ssh/ssh.1 | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.1 b/usr.bin/ssh/ssh.1 index f56b330f1e5..05112812c39 100644 --- a/usr.bin/ssh/ssh.1 +++ b/usr.bin/ssh/ssh.1 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh.1,v 1.117 2001/06/23 17:48:19 itojun Exp $ +.\" $OpenBSD: ssh.1,v 1.118 2001/06/26 17:25:34 markus Exp $ .Dd September 25, 1999 .Dt SSH 1 .Os @@ -1138,6 +1138,29 @@ Set to the default .Ev PATH , as specified when compiling .Nm ssh . +.It Ev SSH_ASKPASS +If +.Nm +needs a passphrase, it will read the passphrase from the current +terminal if it was run from a terminal. +If +.Nm +does not have a terminal associated with it but +.Ev DISPLAY +and +.Ev SSH_ASKPASS +are set, it will execute the program specified by +.Ev SSH_ASKPASS +and open an X11 window to read the passphrase. +This is particularly useful when calling +.Nm +from a +.Pa .Xsession +or related script. +(Note that on some machines it +may be necessary to redirect the input from +.Pa /dev/null +to make this work.) .It Ev SSH_AUTH_SOCK indicates the path of a unix-domain socket used to communicate with the agent. |