Loading...
[Bamboo Knowledge Base]
You can use the Bamboo SSH task to execute a SSH command on a remote computer as part of a Bamboo job.
See Configuring a deployment task for an overview of Bamboo deployment tasks.
To configure an SSH task:
Complete the following settings:
タスクの説明 | タスクの目的を識別するのに役立ちます。 |
このタスクを無効化 | オンまたはオフにすることで、選択的にこのタスクを実行します。 |
ホスト | The hostname or IP address of the remote server on which the SSH Command will be executed. |
接続時にリモート ホスト フィンガープリントを確認 | Enter the host fingerprint to be verified. See below for more details. |
ポート | SSH 接続に使用されるリモート ホストのポート番号です。デフォルト値は 22 です。 |
ユーザ名 | リモート ホストへの接続に使用するユーザー名です。 |
認証タイプ | パスワード – ユーザー名に関連付けられたパスワードです。 |
鍵(パスフレーズなし) – リモート ホストでの認証に使用する SSH 秘密鍵を参照します。 | |
鍵(パスフレーズあり) – リモート ホストでの認証に使用する SSH 秘密鍵を参照し、パスフレーズを提供します。 | |
SSH Command | The shell command to execute on the remote host. You can only enter a single command here. |
以下のコマンドを実行して、ホストのフィンガープリントを判断することができます。
ssh-keygen -l -F <HOSTNAME>
以下のスクリーンショットに示すように、フィンガープリントはレスポンスの一部です。
You can use the SSH task to do such things as: