From owner-freebsd-stable@FreeBSD.ORG Fri Dec 1 20:03:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C205316A50D for ; Fri, 1 Dec 2006 20:03:35 +0000 (UTC) (envelope-from thurners@nicsys.de) Received: from hal-9000.nicsys.de (hal-9000.nicsys.de [213.187.80.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BFF543CBD for ; Fri, 1 Dec 2006 20:02:51 +0000 (GMT) (envelope-from thurners@nicsys.de) Received: from xris.fu41.vpn (p54B48144.dip0.t-ipconnect.de [84.180.129.68]) by hal-9000.nicsys.de (8.13.6/8.13.6/NICsys) with ESMTP id kB1K2p18061314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Dec 2006 21:02:52 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by xris.fu41.vpn (8.13.8/8.13.8) with ESMTP id kB1K2o9x007068 for ; Fri, 1 Dec 2006 21:02:50 +0100 (CET) (envelope-from stthu@xris.fu41.vpn) Message-ID: <45708A65.3000709@xris.fu41.vpn> Date: Fri, 01 Dec 2006 21:02:45 +0100 From: Stefan Thurner User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: Pine.LNX.4.64.0611230934390.18434@herkules.hrz.tu-chemnitz.de X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Spam-Status: No, score=5.0 required=7.0 tests=RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL, SPF_FAIL autolearn=no version=3.1.7 X-Spam-Level: ***** X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on beholder.nicsys.de Subject: pam.d/sshd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 20:03:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hi Stefan. > /etc/pam.d/sshd pam file is for sshd server not for ssh client. > If you want to use ssh-agent whole the time your box is online you > should start it right after login. In order to doing this add > "session optional pam_ssh.so want_agent" > line into session facility of /etc/pam.d/system file (it's included > into /etc/pam.d/login so don't worry). Hi Nikolay! Thats right and I have such a line in may pam.d/system file. But what I want is that ssh-agent is started on the remote host if I login on the remote host. Therefore I added the described lines in the pam.d/sshd file on the remote host. The password for ssh-key is requested if I login on the remote host (as it should) but no ssh-agent is started. I'm quite sure that it is a bug in pam_ssh.so. When bug reporting on the freebsd site is working again I will send in a problem report. best regards - -Stefan - -- GPG-encrypted mail welcome! --> ID:E970FCBE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFcIplxNmQVulw/L4RApPYAJ9C2frkDjE3AlKdQh/unv38E1YbjwCgtPaZ 6lio3DnQJBfjh+azcAyD9fA= =Rebv -----END PGP SIGNATURE-----