ensure host is unique and populate resource
simplify ssh command