From owner-freebsd-questions@freebsd.org Thu May 24 16:01:17 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1AF9EF64C9 for ; Thu, 24 May 2018 16:01:17 +0000 (UTC) (envelope-from ml@vishwin.info) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3442774BFD for ; Thu, 24 May 2018 16:01:17 +0000 (UTC) (envelope-from ml@vishwin.info) Received: by mailman.ysv.freebsd.org (Postfix) id E6AA7EF64C7; Thu, 24 May 2018 16:01:16 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A53BEEF64C5; Thu, 24 May 2018 16:01:16 +0000 (UTC) (envelope-from ml@vishwin.info) Received: from varun.vishwin.info (varun.vishwin.info [46.101.93.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "varun.vishwin.info", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0778174BF8; Thu, 24 May 2018 16:01:15 +0000 (UTC) (envelope-from ml@vishwin.info) Received: from varun.vishwin.info (fd35:9eae:7575::2 [IPv6:fd35:9eae:7575::2]) by varun.vishwin.info (OpenSMTPD) with ESMTP id 57564de1; Thu, 24 May 2018 12:01:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=vishwin.info; h=subject :references:from:to:message-id:date:mime-version:in-reply-to :content-type; s=fuccboi12; bh=6043uzsRcgxLbfskM/nopjmGEXLHHFKiS 2f60Acl8+k=; b=j2bM9L3PQkEI87m2H3uYjSCWkMjOXPwNkio0+ZAt5t0Q1HxA2 0LppBwss1kv0J0MtLOJEZ5JWy8c5IbaicjUgaL1s0g5MS6U5UEt20T8XDLCgjJRK 9/9z2GXbZ+q821DhbWTmRxrrJX8xOSQAqNGs/XRL3KHT00eguXFw1KLRX58GoY+G kOlu/bPl7KN1LdUEQYH839ZdhzPNPCVrvTQqjUobo8jeZ5praZbpuyrhiv2VDbrR t+lgYHFHa3TGiFvYfNd3G+owfAffr1e5T50UUf4vU8JJWRT1459zaavWa+0tDV5d I0ELx2HKeoQuJsTCJTJahYJ5mPQTYxVGPnJNg== Received: from [IPv6:2001:470:8:6ca:cad7:19ff:fec0:a06d] (2001:470:8:6ca:cad7:19ff:fec0:a06d [IPv6:2001:470:8:6ca:cad7:19ff:fec0:a06d]) by varun.vishwin.info (OpenSMTPD) with ESMTPSA id ee8500f9 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 24 May 2018 12:01:12 -0400 (EDT) Subject: Re: problems with ssh-agent after running MATE desktop References: <0a5a4cfc-7872-41ae-4f51-a65fc2cb9986@zyxst.net> From: Charlie Li Openpgp: preference=signencrypt Autocrypt: addr=ml@vishwin.info; keydata= xsFNBFe4p7sBEADHSqa7WkWYRhRiAYsECn4Ek29AkNS7SF4YAbZTzg+3xkPL5cM5zbNCR4U4 o99wC0Y5wQn9y9X9wM16k1AxBkeQ7Dgh+AjxYGnwDjyrVdx9fcId8dQvLV/xw4V2b5CtU0Et M9IE3MDOkgLtWJamTWIL/MfrNgWk5nRZDBhDcygkTO87t0Pi4WC/QQ3TrrDya6FbBPI7I5Y2 0arX2LAeXqJ6pF7uPfjqogKy3UL+t++9nTG6FNR2oftlts1AB+kGHXJf1GiewXLpPEJTGlXx P+XGhjALqJkFw6azELYKjZcd9zGEOWiKJKp2c2RUDdEJHy+cm6cJ8g7dabVA4ZXs5O7NzeMr on7xFbBx/l/0qHux+d7gS4Z+GJ9WGvzvuj4L8MLgA0eaNzn564RJ5FCtPpaulMhcS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aha4l/WAd4kKPmMeW WuRxFkOwkkJFKW2ycH837Njl8Jn6dFSpgZ5/DPBvRdBXjAgDhySr2h9Zn5b6svtnh1ByKJKv ovzp+64IRqfotlLK3J9X1eKHlq10SyprH6IlxsGyXi987ZeV6/04UUAdmPXio/Enxbtna7D2 Cvo+aXTGM9Yu/YwxfmkWRJvEUUzqCOq63Z0Aa5ckOi+8FLUj3ZryS3ctmph/x/flN+ab4R22 pDL8LW1kwMH4Y4krv7l4GBgJPzkBGmonMclGf19i9zwC3TV8oSQ26cyi5d6QmuE3KN9NuLrD CJo3QQ3fpqQrnJbtd0M6fjuKWN0o7UTVEkcOXWWRF85d33VXG8XTDXEJmAJsELG7txDPNZ9o FqGGsWKHymE= To: questions@freebsd.org, stable@freebsd.org Message-ID: <35a72278-573e-af77-8539-faddb0b71e00@vishwin.info> Date: Thu, 24 May 2018 12:01:03 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <0a5a4cfc-7872-41ae-4f51-a65fc2cb9986@zyxst.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tqWBivm57Ve2cUdaSku52oaEmZD958InB" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 16:01:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tqWBivm57Ve2cUdaSku52oaEmZD958InB Content-Type: multipart/mixed; boundary="FAuzJVQMYst1TjOLdQ2yJtItjbTYgwk0N"; protected-headers="v1" From: Charlie Li To: questions@freebsd.org, stable@freebsd.org Message-ID: <35a72278-573e-af77-8539-faddb0b71e00@vishwin.info> Subject: Re: problems with ssh-agent after running MATE desktop References: <0a5a4cfc-7872-41ae-4f51-a65fc2cb9986@zyxst.net> In-Reply-To: <0a5a4cfc-7872-41ae-4f51-a65fc2cb9986@zyxst.net> --FAuzJVQMYst1TjOLdQ2yJtItjbTYgwk0N Content-Type: text/plain; charset=utf-8 Content-Language: en-GB-large Content-Transfer-Encoding: quoted-printable On 24/05/2018 10:41, tech-lists wrote: > However, this does not happen if MATE is loaded from xinit. It is as if= > I had not loaded the key at all before starting MATE. I get this error:= >=20 > sign_and_send_pubkey: signing failed: agent refused operation >=20 > If I then run 'agent', prompts me for the keyphrase, then it works > normally. But I have to repeat this in every single opened terminal. >=20 > What do I have to do to stop MATE from clobbering (or whatever it's > doing - I don't know where to start with this) ssh-add? >=20 > for context: recent freebsd-stable/amd64 and ports >=20 MATE loads all of gnome-keyring, including the ssh-agent portion. This is an almost hard-coded behaviour; it cannot be disabled even in MATE's Startup Applications (where the different parts of gnome-keyring are present and enabled separately). The only way to disable gnome-keyring from loading at all and setting itself in the global MATE environment is through a dconf or gconf key that escapes me at the moment. By default, gnome-keyring will ask for your SSH key passphrase (through pinentry) only on the first time you connect somewhere that uses it. It is then added and used just like ssh-add would. --=20 Charlie Li Can't think of a witty .sigline today=E2=80=A6 (This email address is for mailing list use only; replace local-part with vishwin for off-list communication) --FAuzJVQMYst1TjOLdQ2yJtItjbTYgwk0N-- --tqWBivm57Ve2cUdaSku52oaEmZD958InB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/RdyC3Asy49czZEGtQ4IJhNZSS0FAlsG4cYACgkQtQ4IJhNZ SS2GkA/7BQifOImA17MB/T7yuvbysXHzEDquFag55yOUGd/peQXUqtzdnmo5btvH MHtpbWuG1a2uopS4p/yMfjbqaFxzYmeGxlBDPKqOtLujFY7R3NvHg6U3hfjOLhFq 6mjlDKFvFnNu1V55ylhJ04O3x22gZ+OsyTlMBej7lAq9MpwgxIROuT1Is8Vxjl3D 1Xh+Fmkx8L06QjhmKvJnhzqMptg1rtHN8M+2ywatsVS7AWw0c8ShO6vQyG6/65uy E6AkMnM3ZzqeYIChv5M8U4JcPtLnAlxP+kJ5Zj2kBDvwA84ZQsvhW+8BO3eF/zVe HUmOKJmI2B8MW/1CFnVHyTG3Icn9+zYXcPQcy9zDR5xLi3o8Go3qua9H8M8FM66F kDhQFsp6Q/J7MIdyaReJI2sjGkgcih2N1Tk41GjdjnWQWwHvKeuL0Od/Fw5K8+4J F+B45JwruXBOCH6x/C263BQGNt3+azs8AQeDb5FaQJOq2fUAWI4W8KjWwo3ZM3Kk wH43MC7cAjyOy3vw5w0xFgBC3yX4m4L52O2CIdSBH9CH3UkZwKVaR+/HvNNVg5Za Ch1Dp6CfQzRBCPV+vR1hlYrnat1KjbREWaOWD74a+3n15UamErntVg5NVpIfONO0 4hFmjODQ70Q93RZktwRmJYlbC51G+5NPsi+qI+Cs8ro1gcHxJoM= =lGww -----END PGP SIGNATURE----- --tqWBivm57Ve2cUdaSku52oaEmZD958InB--