The U.S. Geological Survey says a magnitude 6.1 earthquake has struck off the shore of a central Indonesian island.