unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Marius Bakke <marius@gnu.org>
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>,
	58290@debbugs.gnu.org, Andrew Tropin <andrew@trop.in>
Subject: bug#58290: guile ssh error on guix deploy
Date: Thu, 12 Jan 2023 13:44:45 +0100	[thread overview]
Message-ID: <87o7r3hqgy.fsf@gnu.org> (raw)
In-Reply-To: <87v8lcgdg3.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 12 Jan 2023 13:11:24 +0100")

A simpler reproducer:

--8<---------------cut here---------------start------------->8---
(use-modules (ssh session)
             (ssh popen)
             (ssh auth)
             (rnrs io ports))

(define session
  (make-session #:host "HOST-OF-YOUR-CHOICE"))

(session-parse-config! session)
(connect! session)
(userauth-public-key/auto! session)

(let loop ((i 0))
  (pk 'loOp i)
  (let ((pipe (open-remote-pipe session "date" "r")))
    (pk 'x (get-string-all pipe))
    (close-port pipe)
    (loop (+ 1 i))))
--8<---------------cut here---------------end--------------->8---

Ludo’.




  reply	other threads:[~2023-01-12 12:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 11:09 bug#58290: guile ssh error on guix deploy Andrew Tropin
2022-10-08 12:39 ` Ludovic Courtès
2022-10-14  6:45   ` Andrew Tropin
2022-10-17 14:39     ` Ludovic Courtès
2022-10-17 17:27       ` Marius Bakke
2022-10-18 15:31         ` Ludovic Courtès
2022-11-03 23:47           ` Marius Bakke
2022-11-10 10:06             ` Andrew Tropin
2023-01-12 12:11             ` Ludovic Courtès
2023-01-12 12:44               ` Ludovic Courtès [this message]
2023-01-22 20:00                 ` Artyom V. Poptsov
2023-01-23 20:14                   ` Artyom V. Poptsov
2023-01-23 21:50                     ` Ludovic Courtès
2023-01-24 15:53                       ` Andrew Tropin
2023-01-30 22:53                         ` Ludovic Courtès

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=87o7r3hqgy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=58290@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=marius@gnu.org \
    --cc=poptsov.artyom@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).