I have a Unifi Security Gateway from Ubiquiti and I would like to execute a few commands on it via ssh. I would like to install one key for that purpose. I added the commands to the key at authorized_keys on the .ssh folder, but there’s a message there saying I should not change the file as it will be overwritten by Vyatta.
I see that there’s no option to configure commands for a key using the set command to apply configurations.
Any other way to achieve this?