[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.2.2 Invoking psktool
This is a program to manage PSK username and keys. It will generate random keys for the indicated username, using a simple password file format.
PSKtool help Usage : psktool [options] -u, --username username specify username. -p, --passwd FILE specify a password file. -s, --keysize SIZE specify the key size in bytes. -v, --version prints the program's version number -h, --help shows this help text
The generation of a PSK password file is illustrated in the example below. The password is provided in the prompt.
$ ./psktool -u psk_identity -p psks.txt Generating a random key for user 'psk_identity' Key stored to psks.txt $ cat psks.txt psk_identity:88f3824b3e5659f52d00e959bacab954b6540344 $
This document was generated on January 4, 2012 using texi2html 5.0.