From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wACyGT6zj1/5PgAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 04:04:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cNLFFT6zj1+jSgAA1q6Kng (envelope-from ) for ; Wed, 21 Oct 2020 04:04:14 +0000 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 E22599400EF for ; Wed, 21 Oct 2020 04:04:13 +0000 (UTC) Received: from localhost ([::1]:33840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kV5MC-0003pY-JS for larch@yhetil.org; Wed, 21 Oct 2020 00:04:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kV5M2-0003oB-6C for bug-guix@gnu.org; Wed, 21 Oct 2020 00:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kV5M1-0003iv-TL for bug-guix@gnu.org; Wed, 21 Oct 2020 00:04:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kV5M1-0000nt-PZ for bug-guix@gnu.org; Wed, 21 Oct 2020 00:04:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43783: ssh-copy-id: line 254: /dev/null`: Permission denied Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Oct 2020 04:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43783 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nathan Dehnel Received: via spool by 43783-submit@debbugs.gnu.org id=B43783.16032530013033 (code B ref 43783); Wed, 21 Oct 2020 04:04:01 +0000 Received: (at 43783) by debbugs.gnu.org; 21 Oct 2020 04:03:21 +0000 Received: from localhost ([127.0.0.1]:47428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kV5LN-0000mr-Gg for submit@debbugs.gnu.org; Wed, 21 Oct 2020 00:03:21 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:34942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kV5LL-0000me-J0 for 43783@debbugs.gnu.org; Wed, 21 Oct 2020 00:03:20 -0400 Received: by mail-qk1-f169.google.com with SMTP id 140so1137930qko.2 for <43783@debbugs.gnu.org>; Tue, 20 Oct 2020 21:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=2LHZifwdTVoBcbrWW7DFCZmgHWlGd23bLzHEFjvOiIY=; b=RVsAnC0aMmkpiArLQoYDN2x4kZs37bi3zoBb1ObzrYDgCB5hI7JcnHPT87thwMtlTT 3wSG/IZvvDSt5EW0Z/UertqxEVgYyFISI8WCIx/UqsLyAeaQ/9YVkGwO0AXIPDwwjZIh LxQAmXQFOLejpu+ccxTBq/iGOppB9VEV8NDCmcUHV3Gpf8dZyEdRePOopeOrh78zWEGJ xM19p/EnPfAkM/zlgnWdX1fHBHYIbvXbo4uGS31z/8DALyFUCsBroscIBf0zUju+4E4c WK0VmEwjgznVCNpN0lmnBmp80nCAF+v8slNx0PXRCjJsWE1+M+Qzp6zMKOlWFDHo2v8G BgoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=2LHZifwdTVoBcbrWW7DFCZmgHWlGd23bLzHEFjvOiIY=; b=RrLIyPWnbjT82XNPAAhMQI0doXvVCDxUaHJnde2gIQ8oS/qmHKQMf5/itgPFrhH8n7 gEjR7yWW1BS87NT5d1MAnos80IwUONx/ZohL7d4W23oahv74V7gnNgpEqL2sv4QkNzvk LH7/oOmKxkqwBlJl/FbDD5NDj474Bo6z/1i+yIY6mueE5r/AOQbKekhyzVQR6TH3pPd6 Gin5AeBIHaNNOytcLmUOJ1Du3QREX+tlj9FTX+PsvlL2o2+4qSJfCFdkDvJzduG0z57D IHjOfxQg+Zh2y41TCreC+Bd0a95aXea9arpu7MWtGI/7Uet6gloOqk/o2BaWXfCDMGhV iruQ== X-Gm-Message-State: AOAM531DsWwMtETtMaiqRS2WvmKoD8nnDEkVEOq+7dAHTr8Vga0mqHOH 0uhg+2BQ0qSJrUQYdJkSNBi2uzzMtZk= X-Google-Smtp-Source: ABdhPJwbTnpnwOwD/45uBkz9Rm6oxwXZ8PlmivDHTBpJd8t+5IQ+Win9H1apFAOWJ+YP0TcMXuCt/g== X-Received: by 2002:a37:aa46:: with SMTP id t67mr1442069qke.488.1603252993865; Tue, 20 Oct 2020 21:03:13 -0700 (PDT) Received: from hurd (dsl-141-39.b2b2c.ca. [66.158.141.39]) by smtp.gmail.com with ESMTPSA id f40sm581148qte.75.2020.10.20.21.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 21:03:13 -0700 (PDT) From: Maxim Cournoyer References: Date: Wed, 21 Oct 2020 00:03:11 -0400 In-Reply-To: (Nathan Dehnel's message of "Sat, 3 Oct 2020 16:51:55 -0500") Message-ID: <87imb4445c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43783@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=RVsAnC0a; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: rL0oHS23G7KF Hello, Nathan Dehnel writes: > ssh-copy-id errors out and then does not install the key > > bash-5.0$ ssh-copy-id pi@raspberrypi > /home/nathan/.guix-profile/bin/ssh-copy-id: INFO: attempting to log in wi= th > the new key(s), to filter out any that are already installed > /home/nathan/.guix-profile/bin/ssh-copy-id: INFO: 2 key(s) remain to be > installed -- if you are prompted now it is to install the new keys > /home/nathan/.guix-profile/bin/ssh-copy-id: line 251: warning: > here-document at line 251 delimited by end-of-file (wanted `EOF') > /home/nathan/.guix-profile/bin/ssh-copy-id: line 250: warning: > here-document at line 250 delimited by end-of-file (wanted `EOF') > /home/nathan/.guix-profile/bin/ssh-copy-id: line 254: /dev/null`: > Permission denied > /home/nathan/.guix-profile/bin/ssh-copy-id: line 260: EOF: command not fo= und > pi@raspberrypi's password: > > Number of key(s) added: 2 > > Now try logging into the machine, with: "ssh 'pi@raspberrypi'" > and check to make sure that only the key(s) you wanted were added. Could this be specific to the raspberrypi? I cannot reproduce such problem using a remote Guix System. But I just tried using a Buildroot target I had on hand, and I could reproduce something similar: --8<---------------cut here---------------start------------->8--- $ ssh-copy-id target /home/maxim/.guix-profile/bin/ssh-copy-id: INFO: attempting to log in with = the new key(s), to filter out any that are already installed /home/maxim/.guix-profile/bin/ssh-copy-id: INFO: 1 key(s) remain to be inst= alled -- if you are prompted now it is to install the new keys /home/maxim/.guix-profile/bin/ssh-copy-id: line 251: warning: here-document= at line 251 delimited by end-of-file (wanted `EOF') /home/maxim/.guix-profile/bin/ssh-copy-id: line 250: warning: here-document= at line 250 delimited by end-of-file (wanted `EOF') mkdir: cannot create directory =E2=80=98/etc/dropbear=E2=80=99: Permission = denied Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '10.42.0.243' (ECDSA) to the list of known hosts. root@10.42.0.243's password:=20 -sh: ssh-rsa: not found --8<---------------cut here---------------end--------------->8--- I think it probably has to do with the script not finding the tools it expects on the minimal (embedded) environments of the Rasperrypi/Buildroot. I'll try to have a closer look soon. Thanks, Maxim