[ssh] add comments, make runCmdOne block like runCmdAll