OpenSSH
[Top] [All Lists]

Re: SSH_ASKPASS behavior change proposal

To: Lance E Sloan <lsloan@umich.edu>
Subject: Re: SSH_ASKPASS behavior change proposal
From: David Woodhouse <dwmw2@infradead.org>
Date: Tue, 30 Jan 2007 14:12:23 +0000
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <20070118152458.4cepi1r1cggoc8ow@web.mail.umich.edu>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <20070118152458.4cepi1r1cggoc8ow@web.mail.umich.edu>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>