No, military members do not get paid despite working during a government shutdown. Compensation for members of the military is funded through annual personnel appropriations to the Department of ...
Social Security is a program that relies on permanent spending already approved by Congress, so it continues during a shutdown. But some activities from the SSA will be suspended.