Patches for fix for quoting in check_by_ssh [sf#2268675] [#982]