How To Deploy Cpanel Ssh Key On Github Private Repository - FreeCodeBlog
Last updated: Dec 13, 2021
Want to connect GitHub private repository to Cpanel git version control? Yes. Then you must need to deploy created cpanel ssh key on created GitHub private repository. Remember, you can't connect GitHub private repository with cpanel git version control without deploying cpanel ssh key on private repository. Do you have any cpanel ssh key? No. You must have an ssh to deploy. Don't worry, You can create a ssh key on cpanel while reading this ssh key import tutorial. In this tutorial, I will explain you to deploy cpanel ssh key with GitHub private repository so that you can easily communication privately with between cpanel and GitHub.
Before continue this tutorial, I want to remember you that you need to create cpanel ssh key and GitHub private repository.
Step To Deploy C-panel Ssh Key On GitHub Private Repository.
- Login C-panel Dashboard.
- Create SSH key.
- Copy SSH Public Key.
- Sign In GitHub Account.
- Create Private GitHub Repository.
- Deploy C-panel SSH key on GitHub Private Repository.
1. Login C-panel Dashboard.
Let's login C-panel dashboard to create C-panel ssh key. You can easily login C-panel login using username and password.
2. Create SSH Key.
You need to create a SSH key to connect GitHub private repository to cpanel git version control. So please read how to create a ssh key on cpanel tutorial.
3. Copy SSH Public Key.
You will get a public SSH key after created a SSH key on cpanel. Click on SSH access button from cpanel security section. Next click Manage SSH Keys button. Now you will see public keys and private keys list if you have created SSH key. You need to copy public SSH key to deploy on GitHub private repository.
4. Sign In GitHub Account.
First you need to sign in GitHub account to create a private repository to deploy cpanel ssh key. If you haven't a GitHub account then read how to create a GitHub account tutorial.
5. Create Private GitHub Repository.
Create a private GitHub repository and deploy your cpanel ssh key into private repository. Read how to create a github repository tutorial if you don't know how to create a public GitHub repository.
6. Deploy C-panel SSH key on GitHub Private Repository.
Open your private GitHub repository and go to settings option. Now find deploy keys option on private repository settings. Click on deploy keys option. Click on add deploy key button to deploy cpanel ssh key. add title input whatever you want. now paste your copy cpanel public key into key box and click on allow write access button. Finally click on add button to deploy cpanel SSH key on GitHub private repository. You may read laravel project upload to cpanel using private GitHub repository tutorial.
Okay so this is for today. See you again next tutorials. Thanks
We can easily upload Laravel projects to shared Hosting (cpanel) using Zip file, Ftp and git version control method. To upload Laravel projects to... Read More
Want to change local to cpanel MySQL database connection in laravel on cpanel? Yes. Well, You need to change laravel MySQL database connection on s... Read More
Today I will explain you, how we can easily deploy a laravel 8 project on namecheap shared hosting cpanel. If you have a namecheap shared hosting s... Read More
Want to use GitHub public repository to upload laravel project to shared hosting cpanel? Public GitHub repository for laravel project uploading on... Read More
Want to import MySQL database table on cpanel? Yes. Do you have any existing database? Yes. Good, If you have an existing MySQL database with table... Read More