A former Tioga County jail guard who was caught on tape beating a prisoner has been sentenced to six months in federal prison.