"We are working very well together," Trump said of Ghani, noting the ongoing U.S. military support in Afghanistan. "Great progress is being made."
Recently, Trump committed to sending 3,000 more troops to Afghanistan to bolster the training and advisory role the U.S. military is filling there.
"You made this decision on the basis of courage and determination. We salute you," Ghani told Trump.
"I have heard ... the spirit [of U.S. and Afghan troops] is tremendous over there," Trump added.
Trump spoke with Poroshenko about ongoing tensions between Ukraine and Russia.
"Ukraine is coming along pretty well," Trump told reporters.
The president continues to be a focus at the U.N. General Assembly after his fiery address on Tuesday criticized North Korea and leader Kim Jong Un. Wednesday, he met with British Prime Minister Theresa May and leaders from the Middle East.
"Prioritizing diplomacy and emphasizing the importance of dialogue will not work with North Korea," Abe wrote in The New York Times this week. "History shows that concerted pressure by the entire international community is essential."
Trump will also meet with Turkish President Recep Tayyip Erdogan Thursday. Trump and the Turkish leader will meet at the Lotte New York Palace Hotel later Thursday afternoon.
After his meetings, Trump will return to his golf resort in Bedminster, N.J. Friday, he travels to Alabama to campaign for Sen. Luther Strange.