> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/privileged-access-manager/ssh-agent/putty-with-pageant-bridge.md).

# Pageant BridgeによるPutty連携

KeeperPAM経由でPuttyを使用したSSH接続

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-82f3cfcf031a0560174151f903aef7f8dce99963%2FKeeperPAM%20Integration%20with%20PuTTY.jpg?alt=media" alt=""><figcaption></figcaption></figure>

KeeperのSSHエージェントはPuttyの認証とシームレスに連携し、秘密鍵をデバイスにローカル保存せず、Keeperボルトに安全に保管します。これにより、機密性の高い鍵がローカルに露出するリスクを防ぎ、セキュリティを強化します。

本ページでは、Keeperで保護された管理キーを使用するPutty認証の構成方法を取り扱います。認証用と署名用に異なるキーを使い分けることで、役割を明確に分離し、セキュリティをさらに強化できます。

### 前提条件

* KeeperデスクトップでSSHエージェントが有効になっていることを確認
* Pageant Bridgeがインストールされていることを確認

### Pageant Bridgeのインストール

「Pageant bridge」は、wsl-ssh-pageantやwinssh-pageantなどのユーティリティを利用して、PuTTYの[Pageant](https://www.chiark.greenend.org.uk/~sgtatham/putty/)エージェントとネイティブWindows OpenSSH、WSL、Cygwinなどのさまざまな環境との通信を橋渡しする変換レイヤー (プロキシサービス) として機能します。

標準的なOpenSSHクライアントや最近のLinux / WSLツールは、Windowsのメッセージングシステム (WM\_COPYDATA) に依存するPuTTYのPageantと直接通信できません。

#### PowershellでPageantをインストール

```
winget install -e --id NathanBeals.WinSSH-Pageant
```

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-109f9428cd3ad82376a226602751c25f0a0e8081%2Funknown%20(10).png?alt=media" alt="" height="272" width="624">

{% hint style="info" icon="pencil-line" %}
Pageantをインストールする際の権限にご注意ください。管理者権限のPowershellでインストールした場合は、Puttyも管理者権限で実行する必要があります。Pageantをローカルユーザーでインストールした場合は、Puttyもローカルユーザーで実行してください。
{% endhint %}

#### Puttyを構成

Pageant BridgeでKeeperトンネルの認証情報をPuttyに渡すように、Puttyを構成します。Puttyで **\[Connection]** > **\[SSH]** > **\[Auth]** を選択し、**\[Attempt authentication using Pageant]** が選択されていることを確認します。また、**\[Allow agent forwarding]** も選択されていることを確認します。

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-94be8e32bc84309fd1fe1633e2d9501db3f82857%2Funknown%20(11).png?alt=media" alt="" height="389" width="398">

#### Keeperデスクトップを構成

Keeperデスクトップアプリケーションにログインし、接続先のエンドポイントを選択してトンネルを開始します。

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-7d4a4aabd402dc9615fc5cf92a6b8bdca78c2ec0%2Funknown%20(12).png?alt=media" alt="" width="377">

次に、SSHエージェントが起動しており、接続先エンドポイントの認証情報を共有していることを確認します (SSHコマンドの横にある丸で囲まれた「?」を選択)。

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-592a7f49cb3bbc1579b3d40b055de28e285d72c3%2Funknown%20(18).png?alt=media" alt="" height="68" width="456">

エージェントの設定と認証情報が表示されます。

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-ab58d601910700bd39fa28287bf5f5020214b143%2Funknown%20(14).png?alt=media" alt="" width="444">

Puttyでローカルホストとポートを設定します。`USERNAME@127.0.0.1` の形式を使用してください (この例のユーザー名は `linuxuser` です)。

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-61ee61ac3f161632ea90ac99d05e0697062cb327%2Funknown%20(15).png?alt=media" alt="" height="454" width="453">

{% hint style="info" icon="pencil-line" %}
ホスト名フィールドに入力する代わりに、Puttyの設定で **\[Connection]** > **\[Data]** の **\[Auto-login username]** にユーザー名を入力することもできます。

初回起動時は、Keeperからキーへのアクセスを許可するかどうかを確認するポップアップが表示されます。許可した上で **\[Don't ask again]** を選択すると、以降のログインではこの確認は表示されなくなります。
{% endhint %}

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-dff17e0da85b2a3b13f618ae244fe3efc4e355de%2Funknown%20(16).png?alt=media" alt="" width="334">

Putty接続を開始すると、SSHエージェントが認証用のSSHキーを渡します。

<img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-10e62efc07eba984c3caa399e0c10f8a74bba1be%2Funknown%20(17).png?alt=media" alt="" height="417" width="624">


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/jp/privileged-access-manager/ssh-agent/putty-with-pageant-bridge.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
