logo

Cyber Wyprzedaż

  •  Czas działania 99,9%
  •  Darmowy certyfikat SSL
  •  Wsparcie na żywo 24/7
  •  30-dniowa gwarancja zwrotu pieniędzy
Rozpocznij

Nawet

90

%

OFF

02
DNI
14
GODZIN
56
MINUT
40
SEKUND
Cyber Wyprzedaż: Hosting
Tylko 2,55zł /Miesiąc!
Sprawdź wszystkie oferty
×

Baza wiedzy

Znajdź artykuły informacyjne i poradniki dotyczące rozwiązywania problemów
i inne informacje techniczne związane z usługami Hostingera.

How to add my SSH key to Github/Bitbucket?

Modified on:
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!