Fix parsing of SSH, more details in error