[Bug 69] Generalize SSH_ASKPASS
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Aug 30 04:45:52 EST 2008
https://bugzilla.mindrot.org/show_bug.cgi?id=69
--- Comment #11 from Jim Knoble <jmknoble at pobox.com> 2008-08-30 04:45:46 ---
Date: Fri, 29 Aug 2008 16:22:39 +0200
From: Alan Barrett <apb at cequrux.com>
To: openssh-unix-dev at mindrot.org
Subject: Re: SSH Command Line Password Support
Message-ID: <20080829142239.GA13113 at apb-laptoy.apb.alt.za>
References: <876324.11513.qm at web30706.mail.mud.yahoo.com>
<867ia2963m.fsf at ds4.des.no>
<alpine.BSO.1.10.0808271359360.14747 at fuyu.mindrot.org>
<slrngbahdp.c3c.janfrode at lc4eb5760521341.ibm.com>
<87y72itrl7.fsf at squeak.fifthhorseman.net>
<20080827185507.GD233 at greenie.muc.de>
<87iqtmkusk.fsf at squeak.fifthhorseman.net>
<alpine.BSO.1.10.0808280155290.3864 at fuyu.mindrot.org>
<20080828083820.GC2874 at apb-laptoy.apb.alt.za>
<20080828190818.GB13711 at crawfish.ais.com>
In-Reply-To: <20080828190818.GB13711 at crawfish.ais.com>
On Thu, 28 Aug 2008, Jim Knoble wrote:
> : > [old SSH_ASKPASS proposals:]
> : > > http://marc.info/?l=openssh-unix-dev&m=116921620227593&w=2
> : > > https://bugzilla.mindrot.org/show_bug.cgi?id=69
>
> I believe the best way to handle this is with an ssh_config file option
> (which can then also be used on the command line). ssh-add(1) and
> ssh-agent(1) also use SSH_ASKPASS and should use a command-line option,
> since they don't read ssh_config files.
Having to use command line options for ssh-add and ssh-agent may be
inconvenient in some environments.
It occurs to me that the policy on when to use SSH_ASKPASS
could also be embedded in the variable itself, like this:
SSH_ASKPASS="/path/to/script" # like today
SSH_ASKPASS="always:/path/to/script" # use it regardless of DISPLAY
or tty
--apb (Alan Barrett)
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list