Skip to content

Instantly share code, notes, and snippets.

@joseluisq
Last active November 11, 2024 17:25
Show Gist options
  • Save joseluisq/d0e66c5f718250c90075 to your computer and use it in GitHub Desktop.
Save joseluisq/d0e66c5f718250c90075 to your computer and use it in GitHub Desktop.
Disable Git gnome-ssh-askpass on RedHat related OS (Fedora, CentOS)

Disable Git gnome-ssh-askpass on RedHat related OS (Fedora, CentOS)

1.- Add these lines to ~/·bashrc or ~/.zshrc file :

[ -n "$SSH_CONNECTION" ] && unset SSH_ASKPASS
export GIT_ASKPASS=

2.- Update source files:

$ source ·bashrc

// Or
$ source .zshrc
@franzbecker
Copy link

Thanks for sharing 👍

@dorcilio
Copy link

Thanks brother ✌

@thinkjrs
Copy link

Thank you!

@hebertjulio
Copy link

Thank you! 👍

@claudiajkang
Copy link

Thank you!! 👍

@AlexLMCode
Copy link

Thank you!!, you save my reinstalling fedora live!

@mnyerczan
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment