Generate keys and configure keys for given users.
| genkeys.py | ||
| ReadMe.md | ||
| users.txt | ||
| utils.py | ||
| writekeys.py | ||
PublicKey Configurator.
Generate keys and configure keys for given users.
How to use.
- write the username to users.txt, one name per line.
- run genkeys.py, it will generate ssh key pairs for all the users in the users.txt
- run writekeys.py, it will write the generated the keys to $HOME/.ssh/authorized_keys.
- send the generated private key to the user.
Notice.
if the user has already configured a proper sshkey, it will skip it.