the present invention, the outer casing tube (1, 2, 3), fixed inside the optical tube (15), and that provided between the at least one movable sliding tube 12 for a medical use comprising It relates to a rod-shaped rigid endoscope, having a distal light exit positioned adjacent to the light transmitting window terminal (4), and the Light deflecting prism (6) opposite to the terminal window (4) The base end having an observation optical device 22 or the camera adapter And an endoscope shank consisting of the hollow tube to the other is located in one, two outer hollow tube (1, 3) and forms a casing tube provided with a window (4) at the ends, the optical tube (15) a movable deflecting prism (6) provided and inside is provided with an optical system (14) for passing the light beam, wherein at least one of the sliding tube 12 that can be slid in the longitudinal direction of the endoscope has a casing tube (1 a at the terminal window, 2, 3) and an optical tube (15) is provided between, Windows deflecting prism (6) of the device (13 to avoid the incidence of the scattered light to a surface facing the terminal window 4), the terminal (4) It is provided on the, deflecting prism (6) opposite to the terminal window (4) is rotatably supported on the shaft 8 placed at right angles to the longitudinal axis of the endoscope, a sliding tube 12 of the optical tube (15) When sliding on the deflecting prism (6) is a sliding tube 12 to rotate about the shaft 8 is connected to the deflecting prism (6) at the ends, the casing tube (1, 2, 3) inside which is located inside the completely surrounding the hollow tube to form an interior of the hermetic seal, leak-proof performance enables the steam sterilization of the space surrounding the inside, and sliding tube is optically by a magnetic force generated by the movable permanent magnets (20, 21) slides on the tube, at least one permanent magnet 20 is provided inside the hermetically sealed chamber (17) and at least one permanent magne