From ebfee1aec3d3bbf377e8760bda54aea4d15d50fe 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 aae5c0efba..e702da0092 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)