GNU bug report logs - #56082
home: services: openssh: identity-file could be a list of strings.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Oleg Pykhalov <go.wigust@HIDDEN>; dated Sun, 19 Jun 2022 07:40:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 56082 <at> debbugs.gnu.org:


Received: (at 56082) by debbugs.gnu.org; 3 Jul 2022 20:53:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 03 16:53:08 2022
Received: from localhost ([127.0.0.1]:45539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o86aa-0004rW-3A
	for submit <at> debbugs.gnu.org; Sun, 03 Jul 2022 16:53:08 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1o86aY-0004r9-Hr
 for 56082 <at> debbugs.gnu.org; Sun, 03 Jul 2022 16:53:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42096)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1o86aT-0001u6-4m; Sun, 03 Jul 2022 16:53:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=b4gkIKXZos4S1abXStMdSNFXwtUATpzDoMHd8C1hQtc=; b=XKlcMq5k+fgzg/QUPtlW
 yBN6U3xleAWNdLYlKwnItidcPGQDd2aKl8fATjVkj9gktkQWfxDJvoLhcOXCGJr3eMrahuE+elOwE
 SMWU8YPGq5D5EmU/IZYy4tw1rPAT7T/LXx5VgqqA+RMllCfk4xr5hWeEIQ3V9UScjzMlKDwlT6N5i
 UmbHXtS1bm4ARmvMLgkqMWG55mfbwiYzSF2G/uX9CT31W1ZndX/uBt8gqIk7PfXc8nfo9tbJBSEtx
 o8axQP/hMVia9kSi1dHffKoXsr6IYup2zBbM7ToWr1Ntm1vSz9toFXJpqwBAquT75Q3w9CUXJJiOr
 yDgBcU4bqva4Cg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51920
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1o86aS-0003fD-Aa; Sun, 03 Jul 2022 16:53:00 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Oleg Pykhalov <go.wigust@HIDDEN>
Subject: Re: bug#56082: home: services: openssh: identity-file could be a
 list of strings.
References: <87o7ypdruu.fsf@HIDDEN>
Date: Sun, 03 Jul 2022 22:52:59 +0200
In-Reply-To: <87o7ypdruu.fsf@HIDDEN> (Oleg Pykhalov's message of "Sun, 19
 Jun 2022 10:39:37 +0300")
Message-ID: <87a69pzzo4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56082
Cc: 56082 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Oleg Pykhalov <go.wigust@HIDDEN> skribis:

> Currently =E2=80=98identity-file=E2=80=99 in =E2=80=98openssh-host=E2=80=
=99 record is a =E2=80=98maybe-string=E2=80=99,
> but it could be a list, which generates a config like:
>
> Host example.org
>   =E2=80=A6
>   IdentityFile ~/.ssh/id_rsa_1
>   IdentityFile ~/.ssh/id_rsa_2
>   IdentityFile ~/.ssh/id_rsa_3

I didn=E2=80=99t realize it was possible.  Worth fixing!

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#56082; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jun 2022 07:39:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 19 03:39:46 2022
Received: from localhost ([127.0.0.1]:50542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o2pX8-0002ZT-16
	for submit <at> debbugs.gnu.org; Sun, 19 Jun 2022 03:39:46 -0400
Received: from lists.gnu.org ([209.51.188.17]:37354)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <go.wigust@HIDDEN>) id 1o2pX6-0002ZM-F4
 for submit <at> debbugs.gnu.org; Sun, 19 Jun 2022 03:39:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37304)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>)
 id 1o2pX6-0005gp-8G
 for bug-guix@HIDDEN; Sun, 19 Jun 2022 03:39:44 -0400
Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:42796)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>)
 id 1o2pX4-0007Hg-MC
 for bug-guix@HIDDEN; Sun, 19 Jun 2022 03:39:44 -0400
Received: by mail-lj1-x234.google.com with SMTP id c30so8796068ljr.9
 for <bug-guix@HIDDEN>; Sun, 19 Jun 2022 00:39:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=1jQzq48X++8JXhOey578RQMsmGivxx59FkXnC2raRII=;
 b=RYk66NIYQMikwtnXoHCxzpYzCd2m1Op47lOd14v8AI3coqej2VFugSpo8YtUSLGYi6
 7ZpgYGWnhsBqU3BBOtiWRj1wvxBZqwmJdDu3sqRIv7xY29MOtrFM2xsCvk0jWfvmmLQg
 erUNUzGT2G34KtJ6FSvDpcjxjua7bsVy2N62lq2EFNKwNj4dhTyT8CBElin5uqk7F2Yo
 3aBl4hVMP/BmZem2it0qs/nGX08kFnTwIH6c/JUb9GcsRKmxbJ8PqV5k9Vvj+BxScJ7b
 okZUytumZobbFPjPRLl8qluIDFKRcg5zkV/1ZF7hqjZx5vo/gvI1a0AbnMzWQaiGAUxY
 52/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=1jQzq48X++8JXhOey578RQMsmGivxx59FkXnC2raRII=;
 b=pyPSktiqHsg6kIXU6HI6VXV8WnLod1SG567LZPv4UYmv9YcpPxAppg0GvrjCKfpRin
 79xlEXzCWPe43zauTFIZdJr3ROPR2e/nhB3ve/l8dJ9hZR9x9mDqe4MJJkkmM7SHZxwt
 n6Sgs+H1pYROXo7YlHq7MKICi3lsY6LTlIDJHwVhckuHvjLgCNusQn//hrYNiiLUNEQG
 9NgpP4phrATvdeUdrOL1dsq8j7Wb06yvtlbjT+rIrq22iPvjWZZu6fgpfjTvfFUBNLSB
 vr0d3JvYqmNdXqYM4g/3ImVXTDRuuGvY0EZ9/6X9raYOe6lSKZGhj99JQkK8VYUIUAxv
 saZg==
X-Gm-Message-State: AJIora+YFwvT0aMZ+oqieBNF842w4dx2bvERrXX2V6SYdp98FlnR8/FG
 MbZw9k3ZRJ+TdN5ZpI8LmhfHzgnIQiA=
X-Google-Smtp-Source: AGRyM1vNqq6I1hPTIVfhd8+lbIKLRZ+pvqSwb+oxjw9NxFO+EUdqmtf8JLHw548OhwYRZhXK/RLH0w==
X-Received: by 2002:a2e:2a02:0:b0:255:5d08:461 with SMTP id
 q2-20020a2e2a02000000b002555d080461mr9101932ljq.262.1655624380204; 
 Sun, 19 Jun 2022 00:39:40 -0700 (PDT)
Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id
 s7-20020a197707000000b00478f40f6e74sm1272563lfc.140.2022.06.19.00.39.39
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 19 Jun 2022 00:39:39 -0700 (PDT)
From: Oleg Pykhalov <go.wigust@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: home: services: openssh: identity-file could be a list of strings.
Date: Sun, 19 Jun 2022 10:39:37 +0300
Message-ID: <87o7ypdruu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a00:1450:4864:20::234;
 envelope-from=go.wigust@HIDDEN; helo=mail-lj1-x234.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Currently =E2=80=98identity-file=E2=80=99 in =E2=80=98openssh-host=E2=80=99=
 record is a =E2=80=98maybe-string=E2=80=99,
but it could be a list, which generates a config like:

Host example.org
  =E2=80=A6
  IdentityFile ~/.ssh/id_rsa_1
  IdentityFile ~/.ssh/id_rsa_2
  IdentityFile ~/.ssh/id_rsa_3

SSH_CONFIG(5) man page:
     IdentityFile
             =E2=80=A6
             It is possible to have multiple identity files specified in co=
n=E2=80=90
             figuration files; all these identities will be tried in sequen=
ce.
             Multiple IdentityFile directives will add to the list of ident=
i=E2=80=90
             ties tried (this behaviour differs from that of other configur=
a=E2=80=90
             tion directives).

Personally I use more than one =E2=80=98IdentityFile=E2=80=99 as a workarou=
nd to define
a big =E2=80=98ssh_config=E2=80=99.  SSH connects with a first successed =
=E2=80=98IdentityFile=E2=80=99.


Oleg.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmKu0rkUHGdvLndpZ3Vz
dEBnbWFpbC5jb20ACgkQFn+OpQAa+pwGUw/+PpwPkKfrvrlL72IeQGJ7wBtn/njv
Xt4+d/rXQ4SKa4stoJVLXnfM4a4u71V5K7b44IpyTeEzLqi2h9qOKlsA1Kv+fPMQ
lPEELtIGqnuNnut0yqTcZzVmyMACCnA032831qEoJ5H8JV8uJT/ktCpDxswLz6j6
mFGt9K6otxYhSOWvnEuUKo9L+1pMcfu9e+t8NZjFDKV2wuPs9fjA5y6T+aBE+Cxd
XfReGLLy44KlksvTNLuGpKxLA1O7y1SPeCqqRWqVrjLZfR0jH8/ril1yFgDp12bC
zOZ2zeiBkvaMVYgcP6N8yDB6n1noyb198TZpika2o3hGgSqAZhomay733sA0lmBz
kv60IZp+CpEY6bAC+C0dF2iqidIuOBw6bec0M9y8fVfos6dJXd86SsmerUh0w11L
lmX3LmlYuiqVOdc/czlvj8bvgEYf4fDYlW3iHOQQgfmSEX89O+cIF53GF0/aKl+0
jaGjn+YA74Vz+nKqYGeHcaR4s/ZD3/8mZ0L2nUFCtvyV9tVowibmL01zy82nKzr+
UCwi94Q7czA76qmg7DYsqxNvUvXaz8xLcsRrMPmSpjNMUIBkZs0jBDWoZHelcWnF
twkr4aQZznQwYXIKWuMqsvpVi0cJZPH/a4VW1sbLBFDxdw4mw/3Ba24XDPNXsAJm
yol+JmbCoOPDmU0=
=aT6g
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Oleg Pykhalov <go.wigust@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#56082; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Jul 2022 21:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.