Password from open filedescriptor

Peter Astrand astrand at lysator.liu.se
Mon Apr 22 20:44:34 EST 2002


> On Mon, Apr 22, 2002 at 02:59:45AM -0700, Jason Stone wrote:
> > This is not a flame, but I wonder why you need to do this when ssh-agent
> > is available?
> 
> you could use $SSHASKPASS

(The variable is called SSH_ASKPASS.) It is not possible to use 
SSH_ASKPASS when there is a controlling terminal. Also, SSH_ASKPASS 
requires a DISPLAY. 

My first idea was actually to add a patch to force use of SSH_ASKPASS, but 
it seems like SSH_ASKPASS really is only meant for X11 applications 
(because it requires a DISPLAY). 


-- 
/Peter Åstrand <astrand at lysator.liu.se>






More information about the openssh-unix-dev mailing list