From unknown Thu Sep 18 23:15:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43783: ssh-copy-id: line 254: /dev/null`: Permission denied Resent-From: Nathan Dehnel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Oct 2020 21:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43783 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43783@debbugs.gnu.org X-Debbugs-Original-To: Tobias Geerinckx-Rice via Bug reports for GNU Guix Received: via spool by submit@debbugs.gnu.org id=B.160176193423142 (code B ref -1); Sat, 03 Oct 2020 21:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2020 21:52:14 +0000 Received: from localhost ([127.0.0.1]:44554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOpRt-00061C-Nk for submit@debbugs.gnu.org; Sat, 03 Oct 2020 17:52:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOpRs-000615-Se for submit@debbugs.gnu.org; Sat, 03 Oct 2020 17:52:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOpRr-0008AS-3g for bug-guix@gnu.org; Sat, 03 Oct 2020 17:52:12 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOpRo-0002kV-V8 for bug-guix@gnu.org; Sat, 03 Oct 2020 17:52:10 -0400 Received: by mail-wr1-x436.google.com with SMTP id t10so5578227wrv.1 for ; Sat, 03 Oct 2020 14:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=97QjQxTeb1w7hDYCQ4/e45HW6tfgC3FlJtUc6UeUjeI=; b=XxhNkFcPBf7PJxaPBPpwXMDzjwdyF0gIcuW4e7OwWS5Jcjj0KuReDv3xZBqJMtHPp4 L/Gbzo2bv6UyWKx3ILt/zueqMC2AWwP6XWWoXKYyuSjXOc0Ajtmbbcn5zDNksFi96c2n Gk4EXgq7yxLZg3Vd6o0AdO8z6wSWlcODeAsKQhmaUFWOl5HcuQEDwxlpKxSVZ3QFsrDO 0Ztyvqow8F53gKVbuyqtJnDJViPLowj1Fwb/yKLJkIg06kX+28E/0/NRq3VLOoAE91NU AFM4F30wHTliZcHlU9WQ9tTwLTj1t2YCBkAvKf9bnlz4kitV5VdlZil6R/m8tVWnOiRN kAQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=97QjQxTeb1w7hDYCQ4/e45HW6tfgC3FlJtUc6UeUjeI=; b=S6oLqbyZmvrwy0jxQdyooLfEW9UCAtYgdluy1eJrjJ4439N8RsDyP4iydTTXcYL4Po gAvJQ8yyYaIvaSbRPcB5LgrK0VsRmIcfEeIi+y5C8O9nT1goNblh50jezgMqvorUep/s MfvveRpZAzfH74pS3oC4H1Qy8iYUv5daiKpwjOhyJXQfC+UxHL5z3q0J7L/yA5v6rkwf /cNjGqdzaqNqFIazeGFH1KMgjNshEszCK2obTpKvCVfX5r4IHwW7Q7IsNEuXjQGu91RE laGRSw+rf7oS5JRlSYSIn4Pt8vLXrXiI/EAtDRH8zlY1UU8WKyV0uit5Tn1bOjWdm5aD 39lA== X-Gm-Message-State: AOAM532xBm8o16tJg0icnEik1Y5AftLrjrvcMqc4ZsRNOGousi/4beFf /EEpCw+vLSxUzSPvzG+k9YMc+0IZNSd6KvTXMXZBwG3tVlPDxA== X-Google-Smtp-Source: ABdhPJzm4BR/neoWDKNa3022S3CSr+GHF38jxM5wCHOWeBa7J0UBP43NEZ4ZPt0xuPT9dPUVnulVsUt6NOls1E97rrc= X-Received: by 2002:a5d:6547:: with SMTP id z7mr9794197wrv.322.1601761926665; Sat, 03 Oct 2020 14:52:06 -0700 (PDT) MIME-Version: 1.0 From: Nathan Dehnel Date: Sat, 3 Oct 2020 16:51:55 -0500 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a75c7205b0cb4223" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=ncdehnel@gmail.com; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000a75c7205b0cb4223 Content-Type: text/plain; charset="UTF-8" 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 with 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 found 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. --000000000000a75c7205b0cb4223 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 with= the new key(s), to filter out any that are already installed
/home/nath= an/.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 deli= mited by end-of-file (wanted `EOF')
/home/nathan/.guix-profile/bin/s= sh-copy-id: line 250: warning: here-document at line 250 delimited by end-o= f-file (wanted `EOF')
/home/nathan/.guix-profile/bin/ssh-copy-id: li= ne 254: /dev/null`: Permission denied
/home/nathan/.guix-profile/bin/ssh= -copy-id: line 260: EOF: command not found
pi@raspberrypi's password= :

Number of key(s) added: 2

Now try logging into the machine= , with: =C2=A0 "ssh 'pi@raspberrypi'"
and check to mak= e sure that only the key(s) you wanted were added.


--000000000000a75c7205b0cb4223-- From unknown Thu Sep 18 23:15:15 2025 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 Cc: 43783@debbugs.gnu.org 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Thu Sep 18 23:15:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43783: ssh-copy-id: line 254: /dev/null`: Permission denied Resent-From: Nathan Dehnel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 22 Oct 2020 06:33: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: Maxim Cournoyer Cc: 43783@debbugs.gnu.org Received: via spool by 43783-submit@debbugs.gnu.org id=B43783.160334835112171 (code B ref 43783); Thu, 22 Oct 2020 06:33:01 +0000 Received: (at 43783) by debbugs.gnu.org; 22 Oct 2020 06:32:31 +0000 Received: from localhost ([127.0.0.1]:51239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVU9H-0003AF-A8 for submit@debbugs.gnu.org; Thu, 22 Oct 2020 02:32:31 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:39763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVU9F-00039y-3f for 43783@debbugs.gnu.org; Thu, 22 Oct 2020 02:32:29 -0400 Received: by mail-wm1-f49.google.com with SMTP id d3so641767wma.4 for <43783@debbugs.gnu.org>; Wed, 21 Oct 2020 23:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tgHd8qEDNWUKgAs1LoI7DKVVal65+jmexuDrHVxj7zo=; b=J+0FyFUCvPnWtH6zXN00KgJAOF0hgkwTXCSSOKTO1p2HQGUp22dD+lBT80PDWAPd7E ZkkzJzXp+SD2xruFi3K4dlfsz8lGze7J1Ov7JoK2l/XD0CWojSAJwEfJ5d7Eyuoe+Sri rj3PHvVBtn+YJX3dq66AFTcCtQ6hcjaYzTxkvDRRyjOuQuxQ+DZ/SMzY5R52knNdLyqv eElyPZia0o1f531AZcKiIxzzKsbM0I953RvYCTexbAZs+1VaDfKkUitqxN2EPX/FHbv1 jKaxwWv0276VuyuW5utsO0jxco+Q4uKnvr1dVrBJig/cPq0EL+cJuJVKQj3BKueZkM83 LMAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tgHd8qEDNWUKgAs1LoI7DKVVal65+jmexuDrHVxj7zo=; b=lHswCwIPL3iOc1fkwdMirpmFFpu3vtb/mAY9kf3LjLXhzBqF6TjQztuZjUl/nfe7Ty FM580fVXBahHkZ07rsdvMCb6rZTFytsaqCkEYD823lezTkLm4NhPtjG1KqbjSZUUsPxc CREyKv6pS3GsalfpBXXRDfMY94BsvYhrNG/Rh96ElLUjuTnHf5ggom6HCoOTnib2jFf3 Z5gqKIHImwcb1iSApamzaQIUITv/AGp6jrUGkIu4RxC2bYU12Ihe/1HDovCgsqi59Iyg 7yugA04QvYO3APq/dXBFB6+Y9ZE3/2+dfbmDu/KAQiTENQKXJNTs7NaCw9O8EiHcgYrF BC4w== X-Gm-Message-State: AOAM531BH8Y5a0f1+Z6dkpdpZjEjvKm8JbRAnx5ncKpSYYoQtNSOBwzz LUhNcOMgkDlDSlK7uSh80ePCZVK+Sz7JW60tGds= X-Google-Smtp-Source: ABdhPJztTYnkGbBIgK7qHgDecqfhlwo8ZkKcRYnAgfzCJCh2B6A55+TQxE806S2Pr+/txPUwAFPAs5AebLnfeNW8hAA= X-Received: by 2002:a05:600c:216:: with SMTP id 22mr908211wmi.149.1603348343183; Wed, 21 Oct 2020 23:32:23 -0700 (PDT) MIME-Version: 1.0 References: <87imb4445c.fsf@gmail.com> In-Reply-To: <87imb4445c.fsf@gmail.com> From: Nathan Dehnel Date: Thu, 22 Oct 2020 01:32:12 -0500 Message-ID: Content-Type: multipart/alternative; boundary="000000000000725e4105b23ca0c6" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000725e4105b23ca0c6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It happens with both my gentoo machines as well. But they can copy id's among each other fine. On Tue, Oct 20, 2020 at 11:03 PM Maxim Cournoyer wrote: > 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 > with > > 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 > found > > 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 wit= h > 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 > installed -- 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: Permissio= n 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: > -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 > --000000000000725e4105b23ca0c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It happens with both my gentoo machines as well. But they = can copy id's among each other fine.

On Tue, Oct 20, 2020 at 11:03 P= M Maxim Cournoyer <maxim.co= urnoyer@gmail.com> wrote:
Hello,

Nathan Dehnel <n= cdehnel@gmail.com> 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= with
> 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 b= e
> 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')<= br> > /home/nathan/.guix-profile/bin/ssh-copy-id: line 250: warning:
> here-document at line 250 delimited by end-of-file (wanted `EOF')<= br> > /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= found
> pi@raspberrypi's password:
>
> Number of key(s) added: 2
>
> Now try logging into the machine, with:=C2=A0 =C2=A0"ssh 'pi@= raspberrypi'"
> and check to make sure that only the key(s) you wanted were added.

Could this be specific to the raspberrypi?=C2=A0 I cannot reproduce such problem using a remote Guix System.=C2=A0 But I just tried using a Buildroo= t
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 kno= wn hosts.
root@10.42.0.243&= #39;s password:
-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.=C2=A0 I'll try to have a closer look soon.

Thanks,

Maxim
--000000000000725e4105b23ca0c6-- From unknown Thu Sep 18 23:15:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nathan Dehnel Subject: bug#43783: closed (Re: bug#43783: ssh-copy-id: line 254: /dev/null`: Permission denied) Message-ID: References: <87blf350zl.fsf@gnu.org> X-Gnu-PR-Message: they-closed 43783 X-Gnu-PR-Package: guix Reply-To: 43783@debbugs.gnu.org Date: Tue, 08 Dec 2020 23:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1607470322-9488-1" This is a multi-part message in MIME format... ------------=_1607470322-9488-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43783: ssh-copy-id: line 254: /dev/null`: Permission denied which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 43783@debbugs.gnu.org. --=20 43783: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43783 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1607470322-9488-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43783-done) by debbugs.gnu.org; 8 Dec 2020 23:31:26 +0000 Received: from localhost ([127.0.0.1]:60200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmmS5-0001zB-TA for submit@debbugs.gnu.org; Tue, 08 Dec 2020 18:31:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmmS1-0001rc-Lf for 43783-done@debbugs.gnu.org; Tue, 08 Dec 2020 18:31:24 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34555) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmmRv-0007hC-2N; Tue, 08 Dec 2020 18:31:15 -0500 Received: from host-37-191-236-253.lynet.no ([37.191.236.253]:41176 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmmRs-0008TN-3W; Tue, 08 Dec 2020 18:31:12 -0500 From: Marius Bakke To: Nathan Dehnel , 43783-done@debbugs.gnu.org Subject: Re: bug#43783: ssh-copy-id: line 254: /dev/null`: Permission denied In-Reply-To: References: Date: Wed, 09 Dec 2020 00:31:10 +0100 Message-ID: <87blf350zl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43783-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Nathan Dehnel skriver: > 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 with > 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 found This was fixed by Jesse in 81fbe03b509414aa1ede960141a7ffd241d5f9ee. Thanks for the report! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl/QDL4PHG1hcml1c0Bn bnUub3JnAAoJEKKgbfKjOlT6DuYH/1Ljtez28qrKTKP3/0pU/PBbtvItjTsLCLch IrIw5tX4JzDqLkrlH42ESYDa1TB9JObZfEp+frgq3cgp/JWUiid0dOf+FOwtC5VG DDFeu8q/5y3F6E8LwPSCpo5hIgx7sMN8RO+b+uFtBmqbOca5kiezJah2oirOkp0L 75B3TH1KhncVrwsEQp3o6SsLHKJo8W4lbrv6Thv1TwKYxSNchk4MhXf4xBLDe8fv WL8ycB5tWZoYY9rR0p+q7ZluE+HX92p4lpYjYr80bGBxcF3UhZ/THcHkIoLaPQ8R HqxORxUHJMXwi2P3bsj0HDzP3mLTJeBndOzRomeHGB1N1mswOQM= =rtp9 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1607470322-9488-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Oct 2020 21:52:14 +0000 Received: from localhost ([127.0.0.1]:44554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOpRt-00061C-Nk for submit@debbugs.gnu.org; Sat, 03 Oct 2020 17:52:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOpRs-000615-Se for submit@debbugs.gnu.org; Sat, 03 Oct 2020 17:52:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOpRr-0008AS-3g for bug-guix@gnu.org; Sat, 03 Oct 2020 17:52:12 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOpRo-0002kV-V8 for bug-guix@gnu.org; Sat, 03 Oct 2020 17:52:10 -0400 Received: by mail-wr1-x436.google.com with SMTP id t10so5578227wrv.1 for ; Sat, 03 Oct 2020 14:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=97QjQxTeb1w7hDYCQ4/e45HW6tfgC3FlJtUc6UeUjeI=; b=XxhNkFcPBf7PJxaPBPpwXMDzjwdyF0gIcuW4e7OwWS5Jcjj0KuReDv3xZBqJMtHPp4 L/Gbzo2bv6UyWKx3ILt/zueqMC2AWwP6XWWoXKYyuSjXOc0Ajtmbbcn5zDNksFi96c2n Gk4EXgq7yxLZg3Vd6o0AdO8z6wSWlcODeAsKQhmaUFWOl5HcuQEDwxlpKxSVZ3QFsrDO 0Ztyvqow8F53gKVbuyqtJnDJViPLowj1Fwb/yKLJkIg06kX+28E/0/NRq3VLOoAE91NU AFM4F30wHTliZcHlU9WQ9tTwLTj1t2YCBkAvKf9bnlz4kitV5VdlZil6R/m8tVWnOiRN kAQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=97QjQxTeb1w7hDYCQ4/e45HW6tfgC3FlJtUc6UeUjeI=; b=S6oLqbyZmvrwy0jxQdyooLfEW9UCAtYgdluy1eJrjJ4439N8RsDyP4iydTTXcYL4Po gAvJQ8yyYaIvaSbRPcB5LgrK0VsRmIcfEeIi+y5C8O9nT1goNblh50jezgMqvorUep/s MfvveRpZAzfH74pS3oC4H1Qy8iYUv5daiKpwjOhyJXQfC+UxHL5z3q0J7L/yA5v6rkwf /cNjGqdzaqNqFIazeGFH1KMgjNshEszCK2obTpKvCVfX5r4IHwW7Q7IsNEuXjQGu91RE laGRSw+rf7oS5JRlSYSIn4Pt8vLXrXiI/EAtDRH8zlY1UU8WKyV0uit5Tn1bOjWdm5aD 39lA== X-Gm-Message-State: AOAM532xBm8o16tJg0icnEik1Y5AftLrjrvcMqc4ZsRNOGousi/4beFf /EEpCw+vLSxUzSPvzG+k9YMc+0IZNSd6KvTXMXZBwG3tVlPDxA== X-Google-Smtp-Source: ABdhPJzm4BR/neoWDKNa3022S3CSr+GHF38jxM5wCHOWeBa7J0UBP43NEZ4ZPt0xuPT9dPUVnulVsUt6NOls1E97rrc= X-Received: by 2002:a5d:6547:: with SMTP id z7mr9794197wrv.322.1601761926665; Sat, 03 Oct 2020 14:52:06 -0700 (PDT) MIME-Version: 1.0 From: Nathan Dehnel Date: Sat, 3 Oct 2020 16:51:55 -0500 Message-ID: Subject: ssh-copy-id: line 254: /dev/null`: Permission denied To: Tobias Geerinckx-Rice via Bug reports for GNU Guix Content-Type: multipart/alternative; boundary="000000000000a75c7205b0cb4223" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=ncdehnel@gmail.com; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000a75c7205b0cb4223 Content-Type: text/plain; charset="UTF-8" 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 with 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 found 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. --000000000000a75c7205b0cb4223 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 with= the new key(s), to filter out any that are already installed
/home/nath= an/.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 deli= mited by end-of-file (wanted `EOF')
/home/nathan/.guix-profile/bin/s= sh-copy-id: line 250: warning: here-document at line 250 delimited by end-o= f-file (wanted `EOF')
/home/nathan/.guix-profile/bin/ssh-copy-id: li= ne 254: /dev/null`: Permission denied
/home/nathan/.guix-profile/bin/ssh= -copy-id: line 260: EOF: command not found
pi@raspberrypi's password= :

Number of key(s) added: 2

Now try logging into the machine= , with: =C2=A0 "ssh 'pi@raspberrypi'"
and check to mak= e sure that only the key(s) you wanted were added.


--000000000000a75c7205b0cb4223-- ------------=_1607470322-9488-1--