Configuring Git SSH on Windows

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

 

SSH overview

You can use SSH keys to establish a secure connection between the Bamboo server and the SCM that hosts Git repositories.

  • If no Git capability is configured, Bamboo will use its built-in Git implementation: the built-in Git implementation does not support symbolic links, submodules, automatic branch detection and automatic merging.
  • Your SCM administrator must have already enabled SSH access to Git repositories. 
  • Supported key types are DSA and RSA2. Note that RSA1 is not supported. We've tested key sizes of 768, 1024, 2048, 4096 and 8192 bytes.

このページの内容


Enabling SSH access to Git repositories

To enable SSH access:

You need to set up SSH access when you configure your linked repositories:

  1. In the upper-right corner of the screen, select
    Administration bamboo administration icon
    > Overview.
  2. Under Build resources, select Linked repositories.
  3. Select Add repository, and then select Git from the Source repository menu.
  4. 次のフィールドに入力します。

    フィールド説明
    表示名The name that identifies the repository when you are using multiple repositories in a plan
    リポジトリ URLThe URL of the Git repository
    ブランチThe name of the branch or tag containing the source code
  5. Select SSH private key from the Authentication Key menu.
  6. Select the file containing your SSH key using the Choose file button.
  7. Enter the passphrase to allow access to your SSH key.
  8. Select Save repository.

Once you have enabled SSH access, you will also need to add an SSH server capability:

  1. In the upper-right corner of the screen, select
    Administration bamboo administration icon
    > Overview.
  2. Under Build resources, select Server capabilities.
  3. Select Add under the Add capability heading.
  4. 次のフィールドに入力します。

    フィールド
    機能タイプGit
    実行可能ファイルssh
    パスThe path to the SSH executable, for example: /usr/bin/ssh
  5. Select Add to add the SSH capability.


最終更新日: 2023 年 10 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.