Nonlocal stability analysis of the MHD Kelvin-Helmholtz instability in a compressible plasma. [solar wind-magnetosphere interaction]