From owner-freebsd-stable@FreeBSD.ORG Thu Nov 23 08:53:30 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 44CE716A412 for ; Thu, 23 Nov 2006 08:53:30 +0000 (UTC) (envelope-from stefan.thurner@mb.tu-chemnitz.de) Received: from john.hrz.tu-chemnitz.de (john.hrz.tu-chemnitz.de [134.109.132.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED91243D49 for ; Thu, 23 Nov 2006 08:52:55 +0000 (GMT) (envelope-from stefan.thurner@mb.tu-chemnitz.de) Received: from hedwig.hrz.tu-chemnitz.de ([134.109.132.173] helo=mailbox.hrz.tu-chemnitz.de) by john.hrz.tu-chemnitz.de with esmtp (Exim 4.60) (envelope-from ) id 1GnAKm-0004oE-5c for freebsd-stable@freebsd.org; Thu, 23 Nov 2006 09:53:28 +0100 Received: from herkules.hrz.tu-chemnitz.de ([134.109.132.156]) by mailbox.hrz.tu-chemnitz.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1GnAKm-0004MW-39 for freebsd-stable@freebsd.org; Thu, 23 Nov 2006 09:53:28 +0100 Received: from herkules.hrz.tu-chemnitz.de (localhost.localdomain [127.0.0.1]) by herkules.hrz.tu-chemnitz.de (8.13.1/8.12.10) with ESMTP id kAN8rSAk014087 for ; Thu, 23 Nov 2006 09:53:28 +0100 Received: from localhost (stthu@localhost) by herkules.hrz.tu-chemnitz.de (8.13.1/8.12.10/Submit) with ESMTP id kAN8rRg9014084 for ; Thu, 23 Nov 2006 09:53:27 +0100 X-Authentication-Warning: herkules.hrz.tu-chemnitz.de: stthu owned process doing -bs Date: Thu, 23 Nov 2006 09:53:26 +0100 (MET) From: Stefan Thurner To: freebsd-stable@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scan-Signature: a37c3661e0372786d6c154dc38711565 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: Thu, 23 Nov 2006 08:53:30 -0000 Hi! I would like to activate ssh-agent automatically if I login via ssh. My /etc/pam.d/sshd looks like: # auth auth required pam_nologin.so no_warn auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local auth required pam_unix.so no_warn try_first_pass auth optional pam_ssh.so no_warn try_first_pass # account account required pam_login_access.so account required pam_unix.so # session session optional pam_ssh.so session required pam_permit.so # password password required pam_unix.so no_warn try_first_pass At ssh login I have to type in login password and password for my ssh-key as expected but no ssh-agent is started. Any ideas? best regards -Stefan -- Chemnitz University of Technology / Welding Engineering Stefan Thurner Phone / Fax: +49 371 531-32403 / -23729 Email: stefan.thurner@mb.tu-chemnitz.de