An earthquake of magnitude 6.0 rattled the Indian Ocean on Wednesday, as per a statement by the National Center for Seismology (NCS).