Github Over HTTPS

Github defaults to using the default SSH port (22) but it can be reconfigured to use HTTPS port 443.

To test this run the following command:
ssh -T -p 443 git@ssh.github.com
The above -p 443 parameter tells SSH to connect on port 443. To test github connection over SSH the paramater is ommited.

If the above works and you want to make it default for github by creating a file at ~/.ssh/config and putting the following in the file:
Host github.com
Hostname ssh.github.com
Port 443

Using SSH over the HTTPS port

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Software and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.