git ssh 22 port is not available when you configure Git ssh via HTTPS 443 port

Source: Internet
Author: User
Tags ssh config

Using SSH over the HTTPS port

Sometimes, firewalls refuse to allow SSH connections entirely. If using HTTPS cloning with credential caching are not a option, you can attempt to clone using an SSH connection made Ove R the HTTPS port. Most firewall rules should allow this, but proxy servers may interfere.

GitHub Enterprise Users:accessing GitHub Enterprise via SSH over the HTTPS port was currently not supported.

To test if SSH over the HTTPS port is possible, run this SSH command:

SSH-T-P 443 [email protected]username! You've successfully authenticated, but GitHub does notprovide shell access.

If that worked, great! If not, the need to follow we troubleshooting guide.

Enabling SSH connections over HTTPS

If you [email protected] is able to ssh in over port 443, you can override the your SSH settings to force any connection to GitHub to R Un though that server and port.

To set of this in your SSH config, edit the file ~/.ssh/config at, and add this section:

Host github.com  Hostname ssh.github.com  Port 443

Can test that the this works by connecting once more to GitHub:

ssh-t [email protected]username! You've successfully authenticated, but GitHub does notprovide shell access.

Original address: https://help.github.com/articles/using-ssh-over-the-https-port/

git ssh 22 port is not available when you configure Git ssh via HTTPS 443 port

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.