From: Reza Housseini <reza.housseini@gmail.com>
To: help-guix@gnu.org
Subject: Deploy to guix machine
Date: Mon, 15 Aug 2022 09:57:41 +0200 [thread overview]
Message-ID: <d86bfefd-c6ea-17a4-ae96-e93dfe098b94@gmail.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 2931 bytes --]
Hi list
I have a server running guix system, with this configuration
(list (machine
(operating-system my-server)
(environment managed-host-environment-type)
(configuration (machine-ssh-configuration
(host-name "my-host")
(system "x86_64-linux")
(identity "~/.ssh/id_card.pub")))))
which I used to deploy without problems. But now when I run ~guix
deploy~ I get
;;; [2022/08/15 09:51:18.979345, 0] [GSSH ERROR] Channel opening
failure: channel 67 error (2) open failed: #<input-output: channel
(closed) 7fb349ddf560>
Backtrace:
In guix/store.scm:
1405:13 19 (map/accumulate-builds #<store-connection 256.99
7fb348daf2d0> #<procedure 7fb343cf7860…> …)
1380:11 18 (map/accumulate-builds #<store-connection 256.99
7fb348daf2d0> #<procedure 7fb34b551060…> …)
1298:8 17 (call-with-build-handler #<procedure 7fb34b3fee40 at
guix/store.scm:1333:2 (continue st…> …)
In ice-9/boot-9.scm:
1752:10 16 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/deploy.scm:
168:6 15 (_)
In guix/store.scm:
2168:25 14 (run-with-store #<store-connection 256.99 7fb348daf2d0> _
#:guile-for-build _ #:system _ …)
In gnu/machine/ssh.scm:
506:32 13 (_ _)
In ice-9/boot-9.scm:
1752:10 12 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In gnu/machine/ssh.scm:
506:32 11 (_)
In guix/store.scm:
2168:25 10 (run-with-store #<store-connection 256.99 7fb358950c30> _
#:guile-for-build _ #:system _ …)
In guix/remote.scm:
138:10 9 (_ _)
In guix/store.scm:
2040:38 8 (_ #<store-connection 256.99 7fb358950c30>)
In guix/ssh.scm:
376:2 7 (send-files #<store-connection 256.99 7fb358950c30> _
#<store-connection 256.99 7fb34e7…> …)
222:5 6 (remote-run (begin (use-modules (guix) (srfi srfi-34)
(rnrs io ports) (rnrs #)) (# …) …) #)
In ssh/popen.scm:
64:4 5 (open-remote-pipe* _ "r+" _ . _)
In unknown file:
4 (channel-open-session #<input-output: channel (closed)
7fb349ddf560>)
In ice-9/boot-9.scm:
1685:16 3 (raise-exception _ #:continuable? _)
1683:16 2 (raise-exception _ #:continuable? _)
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `guile-ssh-error' with args `("channel-open-session"
"Channel opening failure: channel 67 error (2) open failed"
#<input-output: channel (closed) 7fb349ddf560> #f)'.
I suspect it has something to do with using a hardware key as my private
SSH key. I have the public key in the file ~/.ssh/id_card.pub and used
this as my identity, this was working fine before.
--
Reza Housseini
This message is signed with my GnuPG key:
C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15557 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2022-08-15 8:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 7:57 Reza Housseini [this message]
2022-08-15 10:14 ` Deploy to guix machine Csepp
2022-08-15 11:13 ` Reza Housseini
2022-08-16 1:10 ` 宋文武
2022-08-16 7:33 ` Reza Housseini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d86bfefd-c6ea-17a4-ae96-e93dfe098b94@gmail.com \
--to=reza.housseini@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).