-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v17] [sshkeys] analyze host users and ssh authorized_keys more frequ…
…ently (#48753) * [sshkeys] analyse host users and ssh authorized_keys more frequently If a user exists on a host but the `.ssh/authorized_keys` file does not, `fsnotify` won't monitor its creation and won't inform the agent when a new key is added to `.ssh/authorized_keys`. This PR changes that and makes the system watch more frequently for the users and their `authorized_keys` files so that we can monitor authorized keys existence. Signed-off-by: Tiago Silva <[email protected]> * handle code review comments --------- Signed-off-by: Tiago Silva <[email protected]>
- Loading branch information
Showing
1 changed file
with
81 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters