I was wanting to add in a check for the protocol for SSH and added in the --remote-protocol="2.0" to the arg parameter but it fails with a message that basically says the syntax is invalid. If I swap it out to the -P instead, it works fine.
We're on an old version so maybe this is fixed? We are on v2.3.3 of the plugin.
check_ssh remote-protocol
Re: check_ssh remote-protocol
Thanks for reaching out @AngeloMileto ,AngeloMileto wrote: ↑Mon Oct 07, 2024 9:47 am I was wanting to add in a check for the protocol for SSH and added in the --remote-protocol="2.0" to the arg parameter but it fails with a message that basically says the syntax is invalid. If I swap it out to the -P instead, it works fine.
We're on an old version so maybe this is fixed? We are on v2.3.3 of the plugin.
Looking at the man pages it looks like the remote-protocol flag should also work. Here is a link to the man pages if you would like to have a look. I found an issue in the plugin which is likely causing the issue and I made a pull request which should fix the issue. Here is a link if you want to keep track with the change, otherwise -P does the same thing.
-
AngeloMileto
- Posts: 70
- Joined: Mon Mar 21, 2022 7:53 am
Re: check_ssh remote-protocol
Awesome and thanks for the reply and the fix!