Module: check_mk
Branch: master
Commit: 508dbf647e0c32556f93d04eb357ce300e9b8001
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=508dbf647e0c32…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Feb 14 15:15:20 2017 +0100
4203 FIX Fix failed SSH login in Linux remote alert handlers on some distributions
When the baked agent package automatically creates the SSH access for
executing remote alert handlers by modifying <tt>.ssh/authorized_keys</tt>
it puts two spaces instead of just one after the word <tt>ssh-rsa</tt>. This
seems to make <b>some</b> versions of SSH unhappy and ignore that key. This
has been fixed. You need to rebake and reinstall your agents in order to
fix that after updating Check_MK.
As a workaround you can manually remove the duplicate space in
<tt>.ssh/authorized_keys</tt> in the home directory of the target user.
Change-Id: I9dc3b467500ab7c2d9f12282ced4da1b28cd1202
---
.werks/4203 | 18 ++++++++++++++++++
ChangeLog | 1 +
2 files changed, 19 insertions(+)
diff --git a/.werks/4203 b/.werks/4203
new file mode 100644
index 0000000..9e92d72
--- /dev/null
+++ b/.werks/4203
@@ -0,0 +1,18 @@
+Title: Fix failed SSH login in Linux remote alert handlers on some distributions
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.5.0i1
+Date: 1487081543
+
+When the baked agent package automatically creates the SSH access for
+executing remote alert handlers by modifying <tt>.ssh/authorized_keys</tt>
+it puts two spaces instead of just one after the word <tt>ssh-rsa</tt>. This
+seems to make <b>some</b> versions of SSH unhappy and ignore that key. This
+has been fixed. You need to rebake and reinstall your agents in order to
+fix that after updating Check_MK.
+
+As a workaround you can manually remove the duplicate space in
+<tt>.ssh/authorized_keys</tt> in the home directory of the target user.
diff --git a/ChangeLog b/ChangeLog
index d0bd40b..1d1ef1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
1.5.0i1:
Checks & Agents:
* 4331 FIX: check_sql: Is now printing FreeTDS debug messages in verbose mode (with
MSSQL)
+ * 4203 FIX: Fix failed SSH login in Linux remote alert handlers on some
distributions...
Multisite:
* 4365 FIX: Service availability: Host down could not be rewritten to other states
like CRIT