SSH_ASKPASS behavior change proposal

David Woodhouse dwmw2 at infradead.org
Wed Jan 31 01:12:23 EST 2007


On Thu, 2007-01-18 at 15:24 -0500, Lance E Sloan wrote:
> I propose that the ssh command-line client be changed so that it will 
> use whatever program is specified in the SSH_ASKPASS environment 
> variable regardless of whether ssh has a terminal associated with it or 
> not.  In order for this to work, SSH_ASKPASS would need to contain the 
> full path to a program that prompts for a password, DISPLAY would also 
> need to be set, and some additional environment variable would need to 
> be set to instruct ssh to ignore the no-tty requirement.

I'd like this. I currently have a horrid wrapper which deliberately
disassociates from the ctty before executing /usr/bin/ssh, and it would
be much nicer if SSH could be asked to use $SSH_ASKPASS unconditionally
instead.

-- 
dwmw2



More information about the openssh-unix-dev mailing list