Establishing a permanent human settlement on Mars will require one of the largest logistical operations ever attempted.