SSH over HTTPS

Code Insight 6.14.2

The standard SSH port is 22. To run SSH over port 443, perform the steps discussed above in the SSH Authentication section. The only difference is in .ssh/config on Linux or <user_home>\.ssh\config on Windows. Some examples are:

Property

Example 1

Example 2

Host

github.com

gitssh-https

User

git

git

Port

443

443

HostName

ssh.github.com

ssh.github.com

PreferredAuthentications

publickey

publickey

IdentityFile

~/.ssh/id_rsa_github_test1

~/.ssh/id_rsa_github_test1

URL

git@github.com:account/repository.git

git@gitssh-https:account/repository.git