From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 23 21:30:16 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D8B116A412 for ; Sat, 23 Dec 2006 21:30:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7D413C466 for ; Sat, 23 Dec 2006 21:30:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBNLUF7j009013 for ; Sat, 23 Dec 2006 21:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBNLUFDf009012; Sat, 23 Dec 2006 21:30:15 GMT (envelope-from gnats) Resent-Date: Sat, 23 Dec 2006 21:30:15 GMT Resent-Message-Id: <200612232130.kBNLUFDf009012@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan Thurner Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D93B416A416 for ; Sat, 23 Dec 2006 21:27:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id CCF7713C465 for ; Sat, 23 Dec 2006 21:27:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBNLRXEG022439 for ; Sat, 23 Dec 2006 21:27:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kBNLRXNm022438; Sat, 23 Dec 2006 21:27:33 GMT (envelope-from nobody) Message-Id: <200612232127.kBNLRXNm022438@www.freebsd.org> Date: Sat, 23 Dec 2006 21:27:33 GMT From: Stefan Thurner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/107154: pam.d/sshd pam_ssh.so doesn't start ssh-agent X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Dec 2006 21:30:16 -0000 >Number: 107154 >Category: misc >Synopsis: pam.d/sshd pam_ssh.so doesn't start ssh-agent >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 23 21:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stefan Thurner >Release: FreeBSD 6.2-PRERELEASE >Organization: >Environment: FreeBSD xris.fu41.vpn 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Nov 15 22:26:31 CET 2006 root@xris.fu41.vpn:/usr/obj/usr/src/sys/CUSTOM i386 >Description: What I want is that ssh-agent is started on the remote host if I login on the remote host. Therefore I added the following lines to pam.d/sshd file on the remote host. auth optional pam_ssh.so no_warn try_first_pass session optional pam_ssh.so If I login on the remote host the password for ssh-key is requested (as it should) but no ssh-agent is started (even if type in the correct ssh passphrase). I'm quite sure that it is a bug in pam_ssh.so. >How-To-Repeat: Add the described lines to pam.d/sshd on a remote host. Export your public ssh key to the remote host and login on the remote host. See if ssh-agent is started and serving your passphrase (ssh-add -l). >Fix: Sorry, no idea. >Release-Note: >Audit-Trail: >Unformatted: