PuTTY

Compatible Nitrokeys

3A/C/Mini

Passkey

HSM 2

Pro 2

FIDO2

Storage 2

Start

U2F

✓

active

⨯

inactive

✓

active

✓

active

⨯

inactive

✓

active

✓

active

⨯

inactive

このミニハウツーでは、Nitrokeyが初期化され、暗号鍵が入っていることを前提としています。

クライアント側に必要なもの:*。

**1)ページェント*1

Start pageant.exe. That this is running is shown in the notification area of the taskbar.

img1

ダブルクリックすると、現在のキーのビューが開きます。

img2

キーを挿入するとこのようになります。

img3

ここに何も表示されない場合、pageantを再起動しなければならないか、他のアプリケーションが既にスティックを使用している可能性があります。pgp-agentが動作している可能性があるので、終了させなければなりません。ここで必要なのは、サーバの ssh 設定に保存したい公開鍵だけです。そこで、スティックを挿入しながら CTRL を押すと…

img4

and then view the Pageant-PublicKeys.txt.

img5

I searched for the ssh-rsa entry of the auth key and added the line on the server to the authorized_keys.

**2)PuTTY

PuTTY自体については、意外と語ることがありません。

img6

"Attempt authentication using Pageant "が設定されている必要がありますが、これはデフォルトです。

That's it, as soon as you connect to the server while pageant is running and you have the keys, you will be asked for the password of the Crypto-Stick and can log in.

3) openpgp-minidriver (optional)。

スティックを差し込むたびにWindowsが「Smartcard」のドライバーが見つかりませんでしたと報告してきてイライラする方は、これを解消することができます。上記のドライバのx86版またはx64版をインストールするだけで、スマートカードは以下のようになります。

img7