added ssh helper method