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
OpenPGP_0xC375C6AF05125C52.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
