.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "SSH-ASKPASS-NOINPUT" "" "2013-10-26" "" "" .hy .SH NAME .PP ssh-askpass-noinput - an \f[V]ssh-askpass\f[R] implementation for asking allow/deny questions .SH SYNOPSIS .PP \f[I]ssh-askpass-noinput\f[R] text .SH DESCRIPTION .PP \f[I]ssh-askpass-noinput\f[R] is an implementation of \f[I]ssh-askpass\f[R], which does not actually ask for a password; instead, it only asks a binary (allow/deny) question and exits with 0 for allow and 1 for deny. .PP It is not intended as a general replacement for \f[I]ssh-askpass\f[R], but for special applications that don\[cq]t care about a passphrase. .SH OPTIONS .PP As usual with \f[I]ssh-askpass\f[R] implementations, \f[I]ssh-askpass-noinput\f[R] only takes a single argument, which will be presented as the question. .SH BACKGROUND AND APPLICATIONS .PP Some programs (\f[I]ssh-agent\f[R] and \f[I]ssh-agent-filter\f[R]) use \f[I]ssh-askpass\f[R] to have users confirm actions without entering a passphrase; \f[I]ssh-agent\f[R] does this when used via \f[I]ssh-add\f[R]\[cq]s \f[V]-c\f[R] option. They do not indicate that it is a binary question (because in the classical \f[I]ssh-agent\f[R] invocation, there is no option to do this), and expect the user to ignore the text input and click \[lq]OK\[rq] or \[lq]Cancel\[rq], whereupon they read the askpass\[cq]s exit status. .PP With programs that are known to only ask those questions, setting \f[V]SSH_ASKPASS=ssh-askpass-noinput\f[R] in their environment will make them use this particular implementation for their questions. It should never be installed as \f[V]/usr/bin/ssh-askpass\f[R]. .SH FUTURE .PP This solution is obviously a hack, which is needed until a way is established and implemented for \f[I]ssh-askpass\f[R] to be used more flexibly. .SH SEE ALSO .PP ssh-agent-filter(1), ssh-agent(1), ssh-askpass(1) .SH AUTHORS .PP ssh-askpass-noinput was conceived by chrysn . .PP Both the program and this man page are free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .SH AUTHORS chrysn .