Using the SSH task in Bamboo
To configure an SSH task:
- Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
- Select the name of an existing SSH task, or select Add task > SSH Task to create a new task.
Complete SSH task configuration settings:
Setting Description Task description Optional description for the configured task. Disable this task Prevent the task from running. Add condition to task Run the task only when a certain condition is met. Host Hostname or IP address of the remote host. Authentication typeChoose whether Bamboo should authenticate with the host using a Username and password or SSH private key, and then either provide custom credentials or select shared credentials. SSH command
If you want Bamboo to verify the remote host fingerprint on connection, under Advanced options, select Verify remote host fingerprint on connect, and then paste the host fingerprint.
You can determine the fingerprint for a host by running the following command from a Unix terminal, where
<HOSTNAME>is the fully-qualified domain name or IP address of the remote host:
ssh-keygen -l -F <HOSTNAME>
ssh-keygen -l -F myhost.acme.com