Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 11:01:39 -0800
From:      "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: ssh-askpass & OpenSSH 
Message-ID:  <69431.951678099@zippy.cdrom.com>
In-Reply-To: Your message of "Sun, 27 Feb 2000 15:12:16 %2B0100." <200002271412.PAA82272@Magelan.Leidinger.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> after building 4-current (cvsupped yesterday) I'm using OpenSSH now. I'm
> starting my X11 session with ssh-agent and using ssh-add in my
> .xsession. Unfortunally there's no ssh-askpass build in 4-current (and
> ssh-add is build with
> '#define SSH_ASKPASS_DEFAULT "/usr/X11R6/bin/ssh-askpass"') so I'm not
> able to add my identity to the ssh agent at login time, I have to do it
> manually from a xterm.

I'm not really sure what this ssh-askpass thing is or where it was
supposed to come from, but I found a great lack of information on
it when I switched myself to openssh (from the ports collection) a
long time ago, and in the interim I just put this in my .xsession
file:

	env SSH_ASKPASS="$HOME/Bin/ssh-askpass.sh" ssh-add < /dev/null

Where $HOME/Bin/ssh-askpass.sh is a simple shell script:

#!/bin/sh
xprompt -rfn nil2 -re -p "Enter your password"

The xprompt program can be found in /usr/ports/x11/xprompt

- Jordan


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?69431.951678099>