How to add my SSH key to Github/Bitbucket?

Modificat la:
github bitbucket ssh ssh key connect github git repository gitrepository bit bucket

Keen on deploying everything from GitHub or Bitbucket to Hostinger? Well, you are able to do that know. Simply add your SSH key to your GitHub/Bitbucket and deploy your content to your website immediately!

Firstly, to deploy from the Private repository, you have to add your SSH key to Github or Bitbucket first.
Secondly, enter your public SSH repository HTTP URL, branch name and install path. Install path can be left empty and take notice that the application will be deployed directly to public_html directory.

Note! Install path directory must not contain any files or folders. Otherwise, deployment will fail.
 

If you're using GitHub, you should do the following:

  1. Login to GitHub. 
  2. In the upper-right corner of any page, click your profile photo, then click Settings.
  3. In the user settings sidebar, click SSH and GPG keys.
  4. Click New SSH key or Add SSH key
  5. In the "Title" field, add a descriptive label for the new key. For example, if you're using a personal Mac, you might call this key "Personal MacBook Air".
  6. Paste your key into the "Key" field.
  7. Click Add SSH key.
  8. If prompted, confirm your GitHub password.
     

Using Bitbucket? Follow this:

  1. Login to Bitbucket. 
  2. Go to View Profile
  3. Click on SSH keys and then Add key
  4. Paste the key into the text box: 
  5. Click Add key. You're done!
     

Having questions? Our Customer Success team is here to help you out! 

Ai putea face pe cineva fericit astăzi!