Indian troops shot and killed a Pakistani soldier who crossed the Kashmir border.