Clock synchronization between the ground and satellites is a fundamental issue in future quantum telecommunication, navigation, and global positioning systems. Here, we propose a scheme of near-Earth orbit satellitebased quantum clock synchronization with atmospheric dispersion cancellation by taking into account the spacetime background of the Earth. Two frequency entangled pulses are employed to synchronize two clocks, one at a ground station and the other at a satellite. The time discrepancy of the two clocks is introduced into the pulses by moving mirrors and is extracted by measuring the coincidence rate of the pulses in the interferometer. We find that the pulses are distorted due to effects of gravity when they propagate between the Earth and the satellite, resulting in remarkably affected coincidence rates. We also find that the precision of the clock synchronization is sensitive to the source parameters and the altitude of the satellite. The scheme provides a solution for satellite-based quantum clock synchronization with high precision, which can be realized, in principle, with current technology.