Werk #14354: Fix sftp check if invalid ssh key exists

Component Checks & agents
Title Fix sftp check if invalid ssh key exists
Date Jun 10, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The SFTP check used to fail with username/password if an SSH key exists that doesn't allow access to the SFTP server and no ssh key was specified to be used. The search for private keys in the ~/.ssh folder is now disabled by default. It can be turned on again in the sftp check rulespec.

To the list of all Werks