Skip to content

Credentials

GradedJestRisk edited this page Dec 11, 2025 · 1 revision

Credentials

SSH

Check if allowed

Check is SSH is allowed from your source location

  • on port 22
ssh -T git@ssh.github.com
  • on port 443 Check is SSH is allowed from your source location
ssh -T -p 443 git@ssh.github.com

If you get this message, a firewall may be blocking your access

ssh: connect to host ssh.github.com port 443: Connection refused

Soruce

In case HTTPS is set up, set it off and change the remote

git config --unset credential.helper
git remote set-url origin git remote set-url origin git@github.com:GradedJestRisk/git-training.git

HTTPS

Reset cache

git config credential.helper store

Remove helper

git config --unset credential.helper

Clone this wiki locally