Werk #4203: Fix failed SSH login in Linux remote alert handlers on some distributions
Komponente | Checks & agents |
Titel | Fix failed SSH login in Linux remote alert handlers on some distributions |
Datum | 14.02.2017 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.4.0b2 1.5.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
When the baked agent package automatically creates the SSH access for executing remote alert handlers by modifying .ssh/authorized_keys it puts two spaces instead of just one after the word ssh-rsa. This seems to make some 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 .ssh/authorized_keys in the home directory of the target user.