Connector that can be connected with a complementary connector on a plugging-in axis to produce an electrical connection, comprising a mechanism (7, 107, 207) for connecting to and disconnecting from the complementary connector comprising: - at least one actuation device (41, 141, 241), and - at least one ejection device, such that: - the actuation device (41, 141, 241) and the ejection device are produced by two separate pieces, - the actuation device (41, 141, 241) is mounted to move on said connector between a connection position and a disconnection position, the actuation device (41, 141, 241) comprising: • at least one second part (41b, 141b, 241b) having a contact surface (47, 147, 247) with said associated ejection device, characterized in that - the actuation device further comprises at least one first part (41a, 141a, 241a) having a means (43, 143, 243) for securing to the complementary connector, configured to fix the connector to the complementary connector in the connection position, and - the ejection device is produced in the form of a pin comprising a head and a body mounted on said connector to move translationally along the plugging-in axis between a rest position and an ejection position in which the body of the pin protrudes from said connector in the direction of the complementary connector, the second part (41b, 141b, 241b) of the actuation device (41, 141, 241) being configured to cooperate in the disconnection position with the pin, such that the head of the pin slides on the contact surface (47, 147, 247) of the associated actuation device (41, 141, 241) to drive the translational displacement of the body of the pin into the protruding position. - at least one actuation device (41, 141, 241), and - at least one ejection device, - the actuation device (41, 141, 241) and the ejection device are produced by two separate pieces, - the actuation device (41, 141, 241) is mounted to move on said connector between a connection position and a disconnection position, the actuation device (41, 141, 241) comprising: • at least one second part (41b, 141b, 241b) having a contact surface (47, 147, 247) with said associated ejection device, • at least one second part (41b, 141b, 241b) having a contact surface (47, 147, 247) with said associated ejection device, - the actuation device further comprises at least one first part (41a, 141a, 241a) having a means (43, 143, 243) for securing to the complementary connector, configured to fix the connector to the complementary connector in the connection position, and - the ejection device is produced in the form of a pin comprising a head and a body mounted on said connector to move translationally along the plugging-in axis between a rest position and an ejection position in which the body of the pin protrudes from said connector in the direction of the complementary connector, the second part (41b, 141b, 241b) of the actuation device (41, 141, 241) being configured to cooperate in the disconnection position with the pin, such that the head of the pin slides on the contact surface (47, 147, 247) of the associated actuation device (41, 141, 241) to drive the translational displacement of the body of the pin into the protruding position.