From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 84E7913877A for ; Sun, 6 Jul 2014 03:42:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46EFBE08A6; Sun, 6 Jul 2014 03:42:51 +0000 (UTC) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA18CE088D for ; Sun, 6 Jul 2014 03:42:49 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id lx4so1649234iec.15 for ; Sat, 05 Jul 2014 20:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mA5pk8XMD8uXmjaERNZqRi5kWiEZW+JH5kqSnvyFvgc=; b=BtUmQpZ4Zt3wpSh4pkrMlJrcL+K/ffSlpBViJrxlWRJviiouCT6WtKauT354Ifd5RH LCpZ6ICZ6QypSESAx1/XGxdER9wkZyp8z0w9dYDSNmZRw7tSN/KM32qNxdwk6lyLsJCk VMwtRjjOjcwUIEpzmMehhPIvXq/Z2RQ7jLsYD9jyq1lNw12lDAQSQ3tbODnI7AaHFRoS zyqwWRO9XCqoaJg8OAonFnjQ14vLo9hHz1xU18Ddjm6O9OdUbJhLTPFnW6XorqpM6yS0 qQkkWbqyVunhsreGVE1zX8k9DAbi2uvjt2MffXnKCe12kTd6tGHu0H/94whrEO3OQbLk wVHw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.50.25.104 with SMTP id b8mr13161418igg.28.1404618169064; Sat, 05 Jul 2014 20:42:49 -0700 (PDT) Received: by 10.42.115.201 with HTTP; Sat, 5 Jul 2014 20:42:49 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Jul 2014 20:42:49 -0700 Message-ID: Subject: Re: [gentoo-user] How does ssh know to use "pinentry"? From: Chris Stankevitz To: "gentoo-user@lists.gentoo.org" Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 17aab2be-766b-4c6f-b555-59badf627e41 X-Archives-Hash: 5406803b345c27297796edce214825c1 On Sat, Jul 5, 2014 at 7:57 PM, Rich Freeman wrote: > In any case, I suspect that gpg-agent is actually serving passwords to > openssh, so the file you want is ~/.gnupg/gpg-agent.conf - it probably > contains the line "pinentry-program /usr/bin/pinentry". If you trust > all your X clients you can set the option no-grab in the file which > will probably allow copy/paste/etc to work with the entry window. Rich, Thank you, I will give that a shot. FYI I discovered: declare -x GPG_AGENT_INFO="/tmp/gpg-2uVMfE/S.gpg-agent:26095:1" When I unset this env variable, ssh stopped trying to use pinentry to acquire my passphrase. However, I still do not understand how that variable got set or how/why ssh behaves differently when it is set. Chris