The device has a ventilation mask (10) connected to a respiratory gas hose (5). The gas hose is movably connected by a joint (14) with a base (13) of the ventilation mask. The joint comprises a ball-and-socket joint having inner part (15) shaped as a spherical segment with an outer shell (16). The outer shell is constructed from two shell segments that can be connected with each other.