A simple two pin wire-to-wire connector is probably the RCY series ... 3D printer control board with JST XH connection to the stepper motors If a mystery connector doesn’t match the datasheet ...