Werk #13347: check_sftp: Fix command line argument for private key
Komponente | Checks & agents |
Titel | check_sftp: Fix command line argument for private key |
Datum | 30.09.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p12 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.