There's a typo in one step of the Create the SSH Configuration File section of the cPanel Docs page Guide to Git™ - Set Up Access to Private Repositories.
Step 4 of that section says:
So, it should read:
Step 4 of that section says:
But you don't "run" a command at that step, you "add" the Host and IdentityFile definitions to the config file by editing it.Open~/.ssh/config
with the text editor of your choice andrunthe followingcommandwheretesting
is the name of your repository:
Code:Host remote-git-repo-domain.tld IdentityFile ~/.ssh/testing
So, it should read:
Not sure where to post corrections to the cPanel docs, so posting here.Open~/.ssh/config
with the text editor of your choice and add the following lines wheretesting
is the name of your repository:
Code:Host remote-git-repo-domain.tld IdentityFile ~/.ssh/testing
Last edited: