PuTTY#

This mini-howto assumes that the Nitrokey has been initialized and contains cryptographic keys.

Required on the client side:

1) Pageant

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

img1

A double click opens the view of the current keys.

img2

After inserting the key it looks like this.

img3

If nothing is displayed here, pageant may have to be restarted or another application is already using the stick. A possibly running pgp-agent must be terminated! Now we only need the public key we want to store in the ssh configuration of the server. Therefore we press CTRL while inserting the stick…

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

There is surprisingly little to say about PuTTY itself.

img6

“Attempt authentication using Pageant” must be set, which is the default anyway.

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)

If you are annoyed that Windows reports every time you plug in the stick that no driver could be found for “Smartcard”, you can get rid of it. You just have to install the x86 or x64 version of the above mentioned driver and the smartcard looks like this:

img7