multi-host shell helper