An earthquake with a magnitude of 6.0 struck off the Indonesian island of Sumatra on Wednesday, the U.S. Geological Survey said, but there were no initial reports of damage or injury.