From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by sourceware.org (Postfix) with ESMTPS id 8E4AD3870905 for ; Mon, 1 Jun 2020 22:33:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8E4AD3870905 Received: by mail-qv1-xf29.google.com with SMTP id f89so860287qva.3 for ; Mon, 01 Jun 2020 15:33:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FzKAB+9e4FUuXeIxHXexOvGPbYWTiGXLjv+ljsnrksA=; b=UtcYvGU/vg/JJOR/n+CuI0OZPw3467X0lQ36mTwgwehl3+kGaQ6/QslUcG9AsWl3I+ 0ZZE3Qz58Yk08/7GktkrB88HDwXTXFzjkijLfnHtMEKulFz8WyxSRfW54au9OM2Bk7XX e+rmI5fakGJTaEeOvddO62QTTAxfo4VhWsxVIraXztTZyUSpajRIKBxDjchqA/F1dWiR fZtJ0rk11WLruhVJHss/U7bmO5wp847OABgm5UUfhZqkhdc6HMtWY+Cm94rIZtrnuu+Q DmrWa8xUXEX+YeF1miE3Xy1lE86HMMdvDW8uCh+oAL3I5KxLtH0PAwWWbXUhVileYWkZ s7ew== X-Gm-Message-State: AOAM533hqbW4avWLEKryD7ELeKuWO4NDeQ+EhW/bSUvZT8Yq2qqcmaiO rcBc8HnUidWCgfvPcujSVcs= X-Google-Smtp-Source: ABdhPJxCkbulzgDsobEthaA59r5h+Xn2+jG7TafefxIUDOvprUN0dBppEeSqWJPF3RbaYvW29yCDUw== X-Received: by 2002:ad4:56e3:: with SMTP id cr3mr5887543qvb.175.1591050801051; Mon, 01 Jun 2020 15:33:21 -0700 (PDT) Received: from [192.168.0.41] (75-166-103-121.hlrn.qwest.net. [75.166.103.121]) by smtp.gmail.com with ESMTPSA id y19sm601692qki.19.2020.06.01.15.33.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 15:33:20 -0700 (PDT) Subject: Re: sign_and_send_pubkey: signing failed: agent refused operation To: "Frank Ch. Eigler" Cc: Jonathan Wakely , Overseers mailing list , gcc mailing list References: <20200601181037.GB16575@redhat.com> <74ac89cb-31b7-770b-0e2a-c1256db64db1@gmail.com> <20200601195301.GC16575@redhat.com> From: Martin Sebor Message-ID: Date: Mon, 1 Jun 2020 16:33:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20200601195301.GC16575@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: overseers@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Overseers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2020 22:33:22 -0000 On 6/1/20 1:53 PM, Frank Ch. Eigler wrote: > Hi - > >> ~/.ssh/known_hosts exists and ~/.ssh is rwx only by the owner. >> Everything works fine if I add my key by running ssh-add. What's >> not so great is the errors I get when I forget to do that: "agent >> refused operation?" > > Yeah, there is something odd on your side. Maybe your ssh client is > unable to find the right private key - maybe it's named non-default? > If so, add it to your .ssh/config > > Host gcc.gnu.org sourceware.org > IdentifyFile ~/.ssh/id_XYZ > >> It just feels like too much of a coincidence that I started having >> these problems only after the recent server upgrade. [...] > > I'm afraid it does look like a coincidence. So it sounds like you wouldn't expect the "agent refused operation" error either, and it's not just a poor error message that I should learn to live with. That makes me think I should try to figure out what's wrong. I think the ~/.ssh/ contents are pretty standard: $ ls -l ~/.ssh/ total 32 -rw-------. 1 msebor msebor 998 Jan 3 2019 authorized_keys -rw-------. 1 msebor msebor 1381 Jan 3 2019 id_dsa -rw-------. 1 msebor msebor 603 Jan 3 2019 id_dsa.pub -rw-------. 1 msebor msebor 1876 Dec 18 2018 id_rsa -rw-------. 1 msebor msebor 395 Dec 18 2018 id_rsa.pub -rw-------. 1 msebor msebor 187 Jun 1 13:41 known_hosts I'm not a Git or ssh power user so I don't change default settings unless I absolutely have to. It's also been a while since I updated my workstation so I can't think of anything that could be behind this. Do you have any suggestions what else to look at? Martin