[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64930] [PATCH] guix: Also print the user when SSH auth fails.
From: |
Attila Lendvai |
Subject: |
[bug#64930] [PATCH] guix: Also print the user when SSH auth fails. |
Date: |
Sat, 29 Jul 2023 14:02:37 +0200 |
---
i have added this when i was debugging a guix deploy issue,
and i thought it should be useful for others, too.
guix/ssh.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/ssh.scm b/guix/ssh.scm
index b7b9807ebf..91d61fc3c0 100644
--- a/guix/ssh.scm
+++ b/guix/ssh.scm
@@ -175,8 +175,8 @@ (define* (open-ssh-session host #:key user port identity
(disconnect! session)
(raise (condition
(&message
- (message (format #f (G_ "SSH authentication failed for
'~a': ~a~%")
- host (get-error session)))))))))))
+ (message (format #f (G_ "SSH authentication failed for
'~a@~a': ~a~%")
+ user host (get-error session)))))))))))
(x
;; Connection failed or timeout expired.
(raise (formatted-message (G_ "SSH connection to '~a' failed: ~a~%")
base-commit: e43cbeafd1b632f39b08b3644af5230d5350a656
prerequisite-patch-id: 6793c8ad24215c5f14ce71a4741fff5f6ccd7eeb
prerequisite-patch-id: 3a8dd737d11f37987641af9bc7f512a0bb1a1591
prerequisite-patch-id: f6456f2bf0b7b078318d16b958c14816eb45ace5
prerequisite-patch-id: 52e0d371350dbeb839990acd0bbe70bc5b5b995b
--
2.40.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#64930] [PATCH] guix: Also print the user when SSH auth fails.,
Attila Lendvai <=