Strip host and user from console