Hello.
I'm trying to monitor roots authorized_keys file so i can see if ssh keys were changed.
I set up an item with the following key: vfs.file.cksum[/root/.ssh/authorized_keys]
and a trigger tell if the file changed. This is working for other files but on the authorized_keys file i get the following error on the agent log.
12466:20200616:111909.585 active check "vfs.file.cksum[/root/.ssh/authorized_keys]" is not supported: Cannot open file: [13] Permission denied
permissions on this file are set at 600 for the root user which i believe is required for ssh.
So how can i monitor this file?
Thanks.
I'm trying to monitor roots authorized_keys file so i can see if ssh keys were changed.
I set up an item with the following key: vfs.file.cksum[/root/.ssh/authorized_keys]
and a trigger tell if the file changed. This is working for other files but on the authorized_keys file i get the following error on the agent log.
12466:20200616:111909.585 active check "vfs.file.cksum[/root/.ssh/authorized_keys]" is not supported: Cannot open file: [13] Permission denied
permissions on this file are set at 600 for the root user which i believe is required for ssh.
So how can i monitor this file?
Thanks.
Comment