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 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
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.