From a97603d0039934ae6db68a7a2f73090c9256afb4 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Thu, 27 Mar 2008 13:25:02 +0000
Subject: [PATCH] Add SSH_ASKPASS and DROPBEAR_PASSWORD to the dbclient manpage

--HG--
extra : convert_revision : ecc0009ef2a41ba548230efd0fbb1ea74e973f1b
---
 dbclient.1 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dbclient.1 b/dbclient.1
index e72f249f..033672d0 100644
--- a/dbclient.1
+++ b/dbclient.1
@@ -86,6 +86,19 @@ useful for working around firewalls or routers that drop connections after
 a certain period of inactivity. The trade-off is that a session may be
 closed if there is a temporary lapse of network connectivity. A setting
 if 0 disables keepalives.
+.SH ENVIRONMENT
+.TP
+.B SSH_ASKPASS
+dbclient can use an external program to request a password from a user.
+SSH_ASKPASS should be set to the path of a program that will return a password
+on standard output. This program will only be used if either DISPLAY is set and
+standard input is not a TTY, or the environment variable SSH_ASKPASS_ALWAYS is
+set.
+.TP
+.B DROPBEAR_PASSWORD
+A password to use for remote authentication can be specified in the environment
+variable DROPBEAR_PASSWORD. Care should be taken that the password is not
+exposed to other users on a multi-user system, or stored in accessible files.
 .SH AUTHOR
 Matt Johnston (matt@ucc.asn.au).
 .br
-- 
GitLab