Credentials - GradedJestRisk/git-training GitHub Wiki

Credentials

SSH

Check if allowed

Check is SSH is allowed from your source location

  • on port 22
ssh -T [email protected]
  • on port 443 Check is SSH is allowed from your source location
ssh -T -p 443 [email protected]

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 [email protected]:GradedJestRisk/git-training.git

HTTPS

Reset cache

git config credential.helper store

Remove helper

git config --unset credential.helper