Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 21:35:34 -0500 (EST)
From:      Richard J Kuhns <rjk@grauel.com>
To:        Kris Kennaway <kris@hub.freebsd.org>
Cc:        Richard J Kuhns <rjk@grauel.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: YA ssh question (ssh-askpass?)
Message-ID:  <14533.48246.835804.111800@localhost.grauel.com>
In-Reply-To: <Pine.BSF.4.21.0003071812001.99791-100000@hub.freebsd.org>
References:  <14533.29753.499155.780744@localhost.grauel.com> <Pine.BSF.4.21.0003071812001.99791-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway writes:
 > On Tue, 7 Mar 2000, Richard J Kuhns wrote:
 > 
 > > So does all this mean that I now have to start using ssh-add/ssh-agent?
 > 
 > Not at all; it's there as an option for people who have
 > "secure" workstations and/or want single-signon for SSH. I often use
 > ssh-agent if I have lots of remote CVS commits to do consecutively,
 > e.g. do 'ssh-agent tcsh' and then ssh-add in the subshell, and exit when
 > I'm done.
 > 
 > ssh-add will also only invoke ssh-askpass if invoked with no controlling
 > terminal, e.g. ssh-add < /dev/null or if called during the X login
 > process. Otherwise it uses the good old (internal) text prompt.
 > 
 > Kris

But then I'm back to my original question/problem: how to get ssh to ask
for a password using ssh-askpass.  I've looked through the code (a little);
how would you feel about a patch to openssh/readpass.c that caused it to
call ssh-askpass if there's no controlling tty but DISPLAY is set?

-- 
Richard Kuhns			rjk@grauel.com
PO Box 6249			Tel: (765)477-6000 \
100 Sawmill Road				    x319
Lafayette, IN  47903		     (800)489-4891 /


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14533.48246.835804.111800>