|
The Bamboo Developers recommend that you use Cygwin SSH client instead of the SSH client bundled with Git. Cygwin SSH offers significantly improved speed, stability and configuration options over the one bundled with Git.
Next you need to configure the Cygwin SSH instance.
Open the C:\cygwin directory and edit the Cydgwin.bat file in a text editor. Add this line:
set CYGWIN=binmode ntsec |
before the line that invokes the bash shell
Next we will check that Cygwin was correctly installed. Run C:\Cygwin\Cygwin.bat, and run the following command:
cygrunsrv -h |
This should display a listing of Cygwin help commands. If not, then something has gone wrong and you will need to reinstall Cygwin.
Once you have configured your SSH service, follow the steps described below for enabling access to Git repositories. You will also need to add an SSH capability for each local and remote agent.
To enable SSH access:
You need to set up SSH access when you configure your linked repositories:
Complete the following fields:
| Field | Description |
|---|---|
| Display name | The name that identifies the repository when you are using multiple repositories in a plan |
| Repository URL | The URL of the Git repository |
| Branch | The name of the branch or tag containing the source code |
Once you have enabled SSH access, you will also need to add an SSH server capability:
Complete the following fields:
| Field | Value |
|---|---|
| Capability type | Git |
| Executable | SSH |
| Path | The path to the SSH executable, for example: /usr/bin/ssh |