check_by_ssh: print command output in verbose mode (#1414)

Sven Nierlein notifications at
Thu Mar 10 21:36:06 CET 2016

right now it is not possible to print the command output of ssh.
only prints the command itself. This patchs adds printing the output too.
makes it possible to use ssh with verbose logging which helps debuging any
connection, key or other ssh problems.
Note: you must use -E,--skip-stderr=<high number>, otherwise check_by_ssh
always exit with unknown state.


  ./check_by_ssh -H localhost -o LogLevel=DEBUG3 -C "sleep 1" -E 999 -v

Signed-off-by: Sven Nierlein <sven at>
You can view, comment on, or merge this pull request online at:

-- Commit Summary --

  * check_by_ssh: print command output in verbose mode

-- File Changes --

    M plugins/check_by_ssh.c (7)

-- Patch Links --

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list