From owner-freebsd-current Wed Mar 8 4:11: 9 2000 Delivered-To: freebsd-current@freebsd.org Received: from moran.grauel.com (usr1-44.mintel.net [63.81.123.59]) by hub.freebsd.org (Postfix) with ESMTP id 236E537C29E; Wed, 8 Mar 2000 04:11:03 -0800 (PST) (envelope-from rjk@moran.grauel.com) Received: (from rjk@localhost) by moran.grauel.com (8.9.3/8.9.3) id VAA06140; Tue, 7 Mar 2000 21:35:35 -0500 (EST) (envelope-from rjk) From: Richard J Kuhns MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14533.48246.835804.111800@localhost.grauel.com> Date: Tue, 7 Mar 2000 21:35:34 -0500 (EST) To: Kris Kennaway Cc: Richard J Kuhns , freebsd-current@FreeBSD.ORG Subject: Re: YA ssh question (ssh-askpass?) In-Reply-To: References: <14533.29753.499155.780744@localhost.grauel.com> X-Mailer: VM 6.75 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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