Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 14:21:09 -0600 (CST)
From:      Guy Helmer <ghelmer@cs.iastate.edu>
To:        Richard J Kuhns <rjk@grauel.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: YA ssh question (ssh-askpass?)
Message-ID:  <Pine.HPX.4.05.10003071417210.14324-100000@popeye.cs.iastate.edu>
In-Reply-To: <14533.13881.134031.173029@localhost.grauel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Mar 2000, Richard J Kuhns wrote:

> I just built- and installed- world about an hour ago, and removed the
> ssh-1.2.27 port.  The build and install went without a problem, but I've
> apparently lost some functionality.
> 
> I spend most of my time in xemacs, and I make heavy use of CVS to access a
> couple of remote repositories.  I've had CVS_RSH=ssh for quite some time,
> and use vc (the emacs/xemacs interface to CVS) to handle my sources.  Up
> until this morning, it worked fine.  Whenever I needed to access a remote
> repository, a window popped up to ask for my password.  Now, I just get an
> error message saying "You have no controlling tty.  Cannot read
> passphrase."
> 
> I've installed a Tcl/Tk version of ssh-askpass in /usr/local/bin (which
> works by itself; I've tried it). I've also set SSH_ASKPASS_ENV to
> /usr/local/bin/ssh-askpass, but it hasn't made any difference.

I have the OpenSSH-ssh-askpass port installed (which created the program
/usr/X11R6/bin/ssh-askpass), and I use the command

env SSH_ASKPASS=/usr/X11R6/bin/ssh-askpass /usr/bin/ssh-add

in my X session startup scripts to make ssh-add use ssh-askpass to request
my ssh passphrase.  It seems to me that the name of the environment
variable you are using is incorrect (remove "_ENV" from the end).

Guy

Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science 
Research Assistant, Dept. of Computer Science   ---   ghelmer@cs.iastate.edu
http://www.cs.iastate.edu/~ghelmer



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?Pine.HPX.4.05.10003071417210.14324-100000>