By using SSH one can mitigate against spoofing, man-in-the-middle attacks, and session hijacking.