Werk #13347: check_sftp: Fix command line argument for private key

Component Checks & Agents
Title check_sftp: Fix command line argument for private key
Date Sep 30, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p12
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The active check check_sftp claimed to accept --private-key as a command line argument for specifying a private key to be used for the SFTP login. However, attempting to use this option resulted in the error option --private-key not recognized.

As of this werk, check_sftp accepts --private-key-file as a command line argument. This can be used to specify the path to a private key or certificate file which will be used for authentication.

To the list of all Werks