Hi,

$ sudo add-apt-repository ppa:yubico/stable
$ sudo apt-get update
$ sudo apt-get install libpam-yubico
$ sudo apt-get upgrade 
  (ganz wichtig, falls du zuvor falsche Pakete installiert hattest)

 

$ sudo apt-get install libpam-yubico

Api Key holen:

https://upgrade.yubico.com/getapikey/

Congratulations! Please find below your client identity and client API key.

Client ID: 123456
Secret key: kjhfkjkjhadskjlfhkajdhfkjhdsfieuwzriuwerh!

Be sure to protect the secret. If you need to generate more client id/keys for your different applications, please come back.

Note that it may take up until 5 minutes until all validation servers know about your newly generated client.

 

$ sudo dpkg-reconfigure libpam-yubico

Slot 1 wird benutzt:

ykpersonalize -1 -ochal-resp -ochal-hmac -ohmac-lt64 -oserial-api-visible
...
Commit? (y/n) [n]: y
$

aa