SOCHI, Russia, Nov 7 (Reuters) - Russian President Vladimir Putin on Thursday congratulated Donald Trump on winning the U.S. election, praised him for showing courage when a gunman tried to assassinate him, and said Moscow was ready for dialogue with the Republican president-elect.

In his first public remarks since Trump's win, Putin said Trump had acted like a real man during an assassination attempt on him while he was speaking at a campaign rally in Pennsylvania in July.

"He behaved, in my opinion, in a very correct way, courageously, like a real man," Putin said at the Valdai discussion club in the Russian Black Sea resort of Sochi. "I take this opportunity to congratulate him on his election."

Putin said remarks Trump had made during the election campaign about Ukraine and restoring relations with Russia deserved attention.

"What was said about the desire to restore relations with Russia, to bring about the end of the Ukrainian crisis, in my opinion this deserves attention at least," said Putin.

Trump said during campaigning that he could bring peace in Ukraine within 24 hours if elected, but has given few details on how he would seek to end the biggest land war in Europe since World War Two.

The 72-year-old Kremlin chief gave just one note of caution: "I do not know what is going to happen now. I have no clue."

When pressed by a questioner what he would do if Trump called to suggest a meeting, Putin said he was ready to resume contacts if a Trump administration wanted that, and was ready for discussions with Trump.

Russia and Trump have repeatedly dismissed as nonsense some claims in Western media that Trump was a sort of Russian agent of influence. Russian officials say that during his first term, from 2017 to 2021, Trump was tough on Russia.

U.S. Special Counsel Robert Mueller investigated allegations of collusion between Trump's campaign and Russia in the 2016 U.S. presidential election, but said in a 2019 report that he found no evidence of conspiracy.

Moscow has also repeatedly denied U.S. assertions that Russia meddled in the 2024 and other presidential elections and had spread disinformation in an attempt to sow chaos.

Photo from Reuters