Try this:
$ vim ~/.ssh/config
Add
Host github.com
Hostname ssh.github.com
Port 443
Source: https://help.github.com/articles/using-ssh-over-the-https-port
More Related Contents:
- Is it possible to create a remote repo on GitHub from the CLI without opening browser?
- Git SSH error: “Connect to host: Bad file number”
- SSH Key – Still asking for password and passphrase
- Git’s famous “ERROR: Permission to .git denied to user”
- Having Trouble Switching Github accounts on terminal
- github: No supported authentication methods available
- How do I get git to default to ssh and not https for new repositories
- Why are connections to GitHub over SSH throwing an error “Warning: Remote Host Identification Has Changed”?
- git clone hangs forever on github
- “Cannot spawn ssh” when connecting to Github, but ssh -T [email protected] works?
- How to manage multiple ssh keys in the ~/.ssh directory
- Issue on adding SSH key to GitHub
- git clone with HTTPS or SSH remote?
- Jenkins: Failed to connect to repository
- Git: How to solve Permission denied (publickey) error when using Git?
- Git push requires username and password
- Git SSH authentication
- How to git-cherry-pick only changes to certain files?
- Link to the issue number on GitHub within a commit message
- What is the best practice for dealing with passwords in git repositories?
- git ahead/behind info between master and branch?
- GitHub “fatal: remote origin already exists”
- Jenkins – how to build a specific branch
- GitHub changes repository to the wrong language
- Why does git revert complain about a missing -m option?
- How to properly commit in repository with Github Pages branch
- Change Git repository directory location.
- github: server certificate verification failed
- VS Code / Bitbucket / SSH – Permission denied (publickey)
- Cygwin/Git error cygheap base mismatch detected