From owner-freebsd-current Sun Feb 27 11: 2: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 29E7437B53B for ; Sun, 27 Feb 2000 11:02:06 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from zippy.cdrom.com (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id LAA69482; Sun, 27 Feb 2000 11:01:40 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: ssh-askpass & OpenSSH In-reply-to: Your message of "Sun, 27 Feb 2000 15:12:16 +0100." <200002271412.PAA82272@Magelan.Leidinger.net> Date: Sun, 27 Feb 2000 11:01:39 -0800 Message-ID: <69431.951678099@zippy.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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