The prison has outlasted the war in Afghanistan, has employed tens of thousands of temporary troops and holds six men charged but not yet tried in death penalty cases.