Twin-field quantum key distribution (TFQKD) promises ultralong secure key distribution which surpasses the rate distance limit and can reduce the number of the trusted nodes in long-haul quantum network. Tremendous efforts have been made toward implementation of TFQKD, among which, the secure key with finite size analysis can distribute more than 500 km in the lab and in the field. Here, we demonstrate the sending-or-not-sending TFQKD experimentally, achieving a secure key distribution with finite size analysis over a 658 km ultra-low-loss optical fiber. Meanwhile, in a TFQKD system, any phase fluctuation due to temperature variation and ambient variation during the channel must be recorded and compensated, and all this phase information can then be utilized to sense the channel vibration perturbations. With our quantum key distribution system, we recovered the external vibrational perturbations generated by artificial vibroseis on both the quantum and frequency calibration link, and successfully located the perturbation position in the frequency calibration fiber with a resolution better than 1 km. Our results not only set a new distance record of quantum key distribution, but also demonstrate that the redundant information of TFQKD can be used for remote sensing of the channel vibration, which can find applications in earthquake detection and landslide monitoring besides secure communication.