From 6312becabc1e0dfbaad6639f30db83aa8c77ce20 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Thu, 7 Mar 2024 15:44:18 +0800 Subject: [PATCH] Update error message for SSH error --- cli/src/commands/git.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/src/commands/git.rs b/cli/src/commands/git.rs index 4eb49ce8029..1f4ef853392 100644 --- a/cli/src/commands/git.rs +++ b/cli/src/commands/git.rs @@ -278,8 +278,7 @@ fn map_git_error(err: git2::Error) -> CommandError { successfully load certificates. Try setting it to the path of a directory that \ contains a `.ssh` directory." } else { - "Jujutsu uses libssh2, which doesn't respect ~/.ssh/config. Does `ssh -F \ - /dev/null` to the host work?" + "There was an error creating an SSH connection. Are you able to SSH to the host?" }; user_error_with_hint(err, hint)