auto detect remote request CLI