Plasma diffusion and rotation in a conducting container of finite length in the presence of a longitudinal magnetic field