Skip to content

Commit 5eb58b7

Browse files
committed
18276 FIX Linux remote alert handlers
When copying already created rule of the _Remote alert handlers (Linux)_, the copy ends up with the same SSH key as the original. While this situation is valid and no problem in itself, it finally can lead to the problem of duplicated SSH keys in the `~/.ssh/authorized_keys` file of the target user(s) on the target system.<br> Since this is not allowed, all entries after the first one do get ignored.<br> This lead to nonfunctional alert handlers, showing _Not executing disallowed remote alert handler._ as the summary of the alert handler's execution in the events view. We now fix this situation by merging the ruleset of one host with idential SSH key and target user, which results in only one SSH key entry per `authorized_keys` file. Change-Id: Ic7be94f75d16ecd6b20433eae3981e8306744836
1 parent 2ebe396 commit 5eb58b7

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.werks/18276.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[//]: # (werk v2)
2+
# Linux remote alert handlers
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-07-30T10:09:22+00:00
7+
version | 2.4.0p9
8+
class | fix
9+
edition | cee
10+
component | agents
11+
level | 1
12+
compatible | yes
13+
14+
When copying already created rule of the _Remote alert handlers (Linux)_, the copy ends up with the same SSH key as the original.
15+
16+
While this situation is valid and no problem in itself, it finally can lead to the problem of duplicated SSH keys in the `~/.ssh/authorized_keys` file of the target user(s) on the target system.<br>
17+
Since this is not allowed, all entries after the first one do get ignored.<br>
18+
This lead to nonfunctional alert handlers, showing _Not executing disallowed remote alert handler._ as the summary of the alert handler's execution in the events view.
19+
20+
We now fix this situation by merging the ruleset of one host with idential SSH key and target user, which results in only one SSH key entry per `authorized_keys` file.
21+

0 commit comments

Comments
 (0)