Skip to content

Instantly share code, notes, and snippets.

@dkirkby
Last active September 15, 2021 18:21
Show Gist options
  • Save dkirkby/07f7ed291788093e66224f4db33297e1 to your computer and use it in GitHub Desktop.
Save dkirkby/07f7ed291788093e66224f4db33297e1 to your computer and use it in GitHub Desktop.
Debug github ssh connection problems
# https://docs.github.com/en/github/authenticating-to-github/troubleshooting-ssh
# https://selleo.com/til/posts/m8eirl36cu-debugging-git-pushssh-hanging
% cat ~/bin/sshverbose.sh
#!/bin/bash
ssh -vvv "$@"
% GIT_SSH=~/bin/sshverbose.sh git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment