logo

Black Friday
Sale

  •  99.9% 가동시간
  •  무료 SSL 인증서
  •  24/7 라이브 지원
  •  30일 환불 보증
시작하기

최대

90

%

OFF

05
20
51
47
블랙프라이데이 세일: 웹호스팅
시작 요금 895원 /월!
전체 상품 보기
×

지식 창고

호스팅어의 호스팅 서비스와 관련된 정보글, 문제 해결 가이드,
기타 전문 정보글을 검색하세요.

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!