It means that $X^2$ is distributed as a scaled chi-squared distribution with one degree of freedom, with scale parameter $\sigma^2$. That is to say,
$$\chi_1^2 \sim \operatorname{ChiSquare}(1), \\ f_{\chi^2_1}(t) = \frac{e^{-t/2}}{\sqrt{2\pi t}}, \quad t > 0,$$
and so $X^2 = \sigma^2 \chi_1^2$ has density
$$f_{X^2}(x) = \frac{e^{-x/(2\sigma^2)}}{\sqrt{2\pi x} \sigma}, \quad x > 0.$$
That is all that is meant. In fact, I would argue that the expression should read
$$X^2 = \sigma^2 \chi_1^2$$ and not $$X^2 \sim \sigma^2 \chi_1^2,$$ because $\sim$ means "distributed as," and it is sloppy and imprecise to say that something is distributed as $\sigma^2$ times a distribution. Rather, the random variable $X^2$ is algebraically equivalent to $\sigma^2 \chi_1^2$ where $\chi_1^2$ is a random variable with chi-squared distribution.