The set_auth_key.py script sets the authorized key to the scmviewer user profile.

The script accepts the authorized key file, reads the key from the file and sets it to the scmviewer user profile.

$ sudo /opt/collabnet/teamforge/runtime/scripts/codesearch/set_auth_key.py --help

Run this script as follows:

./set_auth_key.py --authkey-file=<path_of_authkey_file>

When you run the script, you will be prompted to enter the TeamForge site-admin credentials to update the key for the scmviewer user.

Tags for this page: scripts site_admin_tasks scm