Let be the pullbacks of the two orientation classes. The cohomology ring of a product of two spheres has
and generates . Write
The matrix lies in because a homeomorphism induces a cohomology ring automorphism.
If is even, graded commutativity gives
Thus . Invertibility forces to be diagonal or anti-diagonal, and its two nonzero entries must each be . Hence there are exactly eight possible actions: the signed permutation matrices.
Evenness is necessary. For , the product is the torus, and every is induced by an integral linear automorphism of the torus. For example, the infinitely many matrices give distinct actions on .