From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mPd8L3w0cmUFPgEAauVa8A:P1 (envelope-from ) for ; Thu, 07 Dec 2023 22:09:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mPd8L3w0cmUFPgEAauVa8A (envelope-from ) for ; Thu, 07 Dec 2023 22:09:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A5E7D5BEB5 for ; Thu, 7 Dec 2023 22:09:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=N8i3W7Nw; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701983356; a=rsa-sha256; cv=none; b=XRH8wyQ3q4GgA5ZM4Dru4pi0Xyuo2EAVOs9nPbWWhdLqxF3rXSvwkPc0V/IansTk/Fkyt+ +AdbbdXvRw3dJeDro39idgHnfpg7MBOVZTUdajAyQj86zn0K8Z+iY42+JPqO7yVD/px0F0 KYwLJKMgMUjb6g0ycwHBZaJlyqSl8HSZTmtegqqKWOYLfCl1418jxn7KaXCQKz/aS1p8yt 2Z9/5ohJ7haogOrdYBslISwfvUj2oj0NWptmOcWe3RwJjLpP+0/yDTOYgpATYK9kgS3zON 7/T9tZbwao1lJylI+KTMVSNAq97BPFB0bh5KorRfQhXQ6JqGb/60WmbSRZkNaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=N8i3W7Nw; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701983356; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sVgQM9isg32kRypFq7NRM8jG0wZ1R4AHv2IE2JISnNc=; b=T6iZu2n+xAuId6uYNxNvfH1+HMBOhJffCqiHx1nix+W0cxmyyoxj+XdjiG2sF9EOGnPbIi Fw0Mw1ii7xuZcKB9xRLiF7DhPig5QUrHH0egpntQfIs+cGKf0cpqD2B4FGsySFmu1MmOUp NjO4rlY8z3P8Ww0MgqAtf73n/2EGg7D14rUD3IrhG+2MCOTTC6rT9xCvQ+83q+yyN4A5Xs TVZJq5v9ZWQlPS7TBF89gO+NONIrLhIGOp+eUnORPlQ7Aaa6zmH3l04ZyroDDZm+mN0R6X q00mcQOLQO/+jkUeJNTfD0jLpxk5xh0NPnyLtMIO/4mRYa4GQh3EsxISHzS7yw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBLZt-0007t2-ST; Thu, 07 Dec 2023 16:06:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBLZq-0007hT-C5 for help-guix@gnu.org; Thu, 07 Dec 2023 16:06:34 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBLZn-0006PZ-RZ for help-guix@gnu.org; Thu, 07 Dec 2023 16:06:34 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E8AB444D79; Thu, 7 Dec 2023 22:06:28 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BlOkwm3_iMzh; Thu, 7 Dec 2023 22:06:28 +0100 (CET) References: <87zfyuit2g.fsf@disroot.org> <20231201141224.6169bfea.koszko@koszko.org> <87sf4liww5.fsf@disroot.org> <20231201210717.0d3d8ec4.koszko@koszko.org> <87zfyor03l.fsf@disroot.org> <20231205202834.05ce97e3.koszko@koszko.org> <87zfyl3g55.fsf@disroot.org> <20231207215715.5a35e906.koszko@koszko.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1701983187; bh=HlqsUw2T8f0wrCHbmZ/DpR7HCbAEyPUjXkQhK8V/ahs=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=N8i3W7Nw2Z+nkHlt1XTQRClsQEE1BMHelkjEJYIskADh3UW6lZwJjVqEmtDQkL9Qj HgWdE/oYWB/AHtA5lY8eatE3qE7mxWuZls68w90prjWil+isV4QaY+zEWpvJbdI+WT 40nADJ2D49dG2TXWelG/kWIXVWbO75aB+QFoh6CMqF/h52A5XuEA8LwnZLcf8Yc6cl bWNkiCM1EHK88T+j9KjiD9BHO9NMCjghCNAT6xVS/gHW+F5dG9oSP92BSNlBJC+Pr2 VcswgCMs1RxeFBhtKH8LA4OKNyxeXcAltOMRRujo1um8CppLi28zWEv1kUAYJNp+bH wxjTaPXv0KovA== From: Mauritz Stenek To: Wojtek Kosior Cc: help-guix@gnu.org Subject: Re: SSH error guix pull Date: Thu, 07 Dec 2023 15:02:05 -0600 In-reply-to: <20231207215715.5a35e906.koszko@koszko.org> Message-ID: <87v8993epb.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=mstenek@disroot.org; helo=layka.disroot.org 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, 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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.22 X-Spam-Score: -9.22 X-Migadu-Queue-Id: A5E7D5BEB5 X-TUID: 0hfOV3s4eugA On 2023-12-07 at 14:57, Wojtek Kosior wrote: > [[PGP Signed Part:Undecided]] >> > Nevertheless, I guess a >> > hypothetical solution would be to allow Guix to =E2=80=94 when=20 >> > desired =E2=80=94=20 >> > call >> > SSH with access to its TTY/PTY :)=20=20 >>=20 >> Would you mind showing me how? > > Oh, that'd be hard=E2=80=A6 I meant modification to some internal code=20 > that > spawns an SSH process. So that when certain CLI option is=20 > passed, Guix > does this without substituting stdin/stdout/stderr file=20 > descriptors. > > Actually, I'm not even 100% sure the substitution is controlled > directly by Guix =E2=80=94 it might be in libgit which IIRC is used for=20 > cloning > here. I think you might be on to something -- scouring the internet,=20 libgit2 seems to be the culprit. > > Anyway, this improvement would require digging deep into either=20 > Guix or > libgit. That's why I called it hypothetical =E2=80=94 because it is too=20 > much > work to consider here :) > > Anyway, if you're inclined to work around the problem, you might=20 > want > to experiment with the SSH_ASKPASS and SSH_ASKPASS_REQUIRE=20 > environment > variables. So that you're asked to enter the password in a GUI. > See `man ssh` for more info about these vars > > Happy Hacking! > Wojtek Thanks for your all your help. What I have now works, which, is=20 sufficient for now (I hope). A couple of things more I want to check, and that's it: I'm=20 migrating to a full Guix system. > > > -- (sig_start) > website: https://koszko.org/koszko.html > fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A > follow me on Fediverse:=20 > https://friendica.me/profile/koszko/profile > > =E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7=20 > c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ=3D=3D > =E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ?=20 > U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=3D > -- (sig_end) > > > On Thu, 07 Dec 2023 14:33:18 -0600 Mauritz Stenek=20 > wrote: > >> Nevertheless, I guess=20 >> > a >> > hypothetical solution would be to allow Guix to =E2=80=94 when=20 >> > desired =E2=80=94=20 >> > call >> > SSH with access to its TTY/PTY :)=20=20 >>=20 >> Would you mind showing me how? > > [[End of PGP Signed Part]] --=20 Mauritz Stenek