US Secret Service agents shot and killed an alleged gunman who approached the White House perimeter wounding a bystander in the process.