trying to capture ssh exception