From 056128d9950cc0b6c1a4e59fc9e6db07c766026b 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 66b8f33d8d..641693c0c0 100644 --- a/cli/src/commands/git.rs +++ b/cli/src/commands/git.rs @@ -277,8 +277,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)