Next:
PKG_addShutdownOrRebootPackage
Up:
./inc/packages.php
Previous:
PKG_addShutdownPackage
Contents
PKG_addKeyFromAuthorized_keyPackage
Description:
Adds or deletes an SSH key to or from /root/.ssh/authorized_keys.
Parameter:
client: name of the client
add: If set to true, the key will be added, otherwise removed.
sshkey: SSH key to add or remove.
showJSON: If set to true, a JSON success message will be shown.