Use port 443 for SSH. GitHub allows you to use the HTTPS port for SSH connections. This usually bypasses most firewall restrictions.
- Test the connection to port 443: ssh -T -p 443 git@ssh.github.com > if you see usename! You've successfully authenticated. The connection is working.
- Modify your SSH configuration
- Open the config file in your terminal: nano~/.ssh/config
- Hostname ssh.github.com Port 443 User git
- try git push

Top comments (0)