Mr. O’Reilly: “Do you respect Putin?”

Mr. Trump: “I do respect him.”

Mr. O’Reilly: “Do you? Why?”

Mr. Trump: “Well, I respect a lot of people, but that doesn’t mean I’m going to get along with them. He’s a leader of his country. I say it’s better to get along with Russia than not. And if Russia helps us in the fight against ISIS — which is a major fight — and Islamic terrorism all over the world — major fight — that’s a good thing. Will I get along with him? I have no idea. It’s very possible that I won’t.”

Mr. O’Reilly: “He’s a killer though. Putin’s a killer.”

Mr. Trump: “There are a lot of killers. You think our country’s so innocent?”

The president’s response, which appeared to equate Mr. Putin’s actions with those of the United States, drew outrage and dismay on social media.

An open admirer of the Russian leader, Mr. Trump has taken a conciliatory approach toward Mr. Putin, whose tenure has been known for human rights abuses, the brutal suppression of political dissent and the unnatural deaths of many political opponents.