A major earthquake struck 170 miles off Alaska early Tuesday, but despite initial concerns, the authorities lifted all tsunami warnings within four hours.