Driving device of pet leashes, attachable to a leash for remotely engaging or disengaging a collar or a harness of a pet, comprising a longitudinally displaceable cable (1), a hook (2), having a movable latch (3) for opening or closing the hook (2), attached to an end of the cable (1), a first spring (9) for pushing the latch (3) so as to maintain closed the hook (2), a puller (4), for driving the latch (3), located in the other end of the cable (1), a widening, (13) located in the same end of the cable (1) than the puller (4), and a second spring (15) located between the puller (4) and the widening (13) for absorbing undesired longitudinal displacements of the cable (1).