Why move SSH off port 22
Moving SSH to a non-default port (2222, 22022, anything memorable) is not real security — a scanner finds it within seconds. But it dramatically reduces background noise. A public-facing server on :22 sees thousands of brute-force attempts per day; on :2222, maybe a handful. With key-only auth, both are equally safe; the latter just produces less log noise to wade through.
Combined with the rest of this track
Port change alone is theater. Combined with key-only auth + fail2ban + firewall (next lesson) + restricted user list, you have a server that's quiet, brute-force-resistant, and hard to find. Each layer is small; the combination is what matters.