A vancomycin photoprobe identifies the histidine kinase VanSsc as a vancomycin receptor.