You can use the YubiKey configuration utility to program the configuration 2 of the YubiKey 2.0 to static password mode.
The YubiKey configuration utility and the user guide can be downloaded from the following link:
http://www.yubico.com/developers/personalization/The step by step instructions can be found at the following forum link:
viewtopic.php?f=2&t=408&p=1774&hilit=summary#p1774Please note that the actual Static password itself cannot be set by the user. The Static password is generated as a result of an encryption function involving the AES key and YubiKey parameters. Users need to configure this static password in their application(s).
In order to streamline the process for users who want to program their own AES keys in YubiKeys and still have a working key online we have changed the process of handling AES Keys at the online validation server. If you want to again validate the OTP with the online Yubico validation server, please follow the instructions given at the following forum link:
viewtopic.php?f=2&t=402&p=1754&hilit=summary#p1754We hope this helps!