summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.1
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2020-07-14 23:57:01 +0000
committerdjm <djm@openbsd.org>2020-07-14 23:57:01 +0000
commit0ae95be18a2e3ed6551b51da11ea94970a77910e (patch)
tree658715e65a0d740ee031f291b72930ec367669c5 /usr.bin/ssh/ssh.1
parentProperly clean up and dereference 'old' policy after failed lookup. (diff)
downloadwireguard-openbsd-0ae95be18a2e3ed6551b51da11ea94970a77910e.tar.xz
wireguard-openbsd-0ae95be18a2e3ed6551b51da11ea94970a77910e.zip
allow some additional control over the use of ssh-askpass
via $SSH_ASKPASS_REQUIRE, including force-enable/disable. bz#69 ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.1')
-rw-r--r--usr.bin/ssh/ssh.123
1 files changed, 21 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.1 b/usr.bin/ssh/ssh.1
index dce5f404b3a..7b9d3422b58 100644
--- a/usr.bin/ssh/ssh.1
+++ b/usr.bin/ssh/ssh.1
@@ -33,8 +33,8 @@
.\" (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.412 2020/04/17 03:34:42 djm Exp $
-.Dd $Mdocdate: April 17 2020 $
+.\" $OpenBSD: ssh.1,v 1.413 2020/07/14 23:57:01 djm Exp $
+.Dd $Mdocdate: July 14 2020 $
.Dt SSH 1
.Os
.Sh NAME
@@ -1409,6 +1409,25 @@ or related script.
may be necessary to redirect the input from
.Pa /dev/null
to make this work.)
+.It Ev SSH_ASKPASS_REQUIRE
+allows further control over the use of an askpass program.
+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
Identifies the path of a
.Ux Ns -domain