The greeting in Panama comes amid a thaw negotiations between the US and Cuba.
The president of Panama, Juan Carlos Varela, opened Friday night the Seventh Summit of the Americas before rulers and representatives of 35 countries of the continent.
The most anticipated moment of the encounter occurred shortly before the ceremony began when US President Barack Obama and the ruler of Cuba Raul Castro met and chatted briefly.
Castro was accompanied by Cuban Foreign Minister Bruno Rodriguez. With them was also Ban Ki-moon, Secretary General of the UN.
“At the Summit of the Americas tonight, Obama and Castro was greeted and shook hands,” he said in a brief statement Bernadette Meehan, spokesperson National Security Council of the United States.
President Obama and President Raul Castro greeted Friday during the opening of the VII Summit of the Americas.
A US official described the interaction as “informal” and added that “no substantial conversation between the two leaders.”