Vladimir Putin has warned Nato of "consequences" if the western military alliance cultivates closer ties with Ukraine and Georgia.

The Russian president said such a policy, which he branded "aggressive" and "irresponsible", was a direct threat to the country's national security.

Speaking to Russian diplomats in Moscow, Mr Putin condemned what he said was Nato's attempts to deploy new bases and military infrastructure near Russia's borders, adding there was a need to restore trust in Europe.

The issue has been a source of anger for Russia - which shares a border with both countries and does not want to see them join what it regards as a hostile military bloc - since 2008, when Nato leaders promised Ukraine and Georgia they would one day become members of the alliance.

"We will respond appropriately to such aggressive steps, which pose a direct threat to Russia," Mr Putin said on Thursday.

"Our colleagues, who are trying to aggravate the situation, seeking to include, among others, Ukraine and Georgia in the orbit of the alliance, should think about the possible consequences of such an irresponsible policy."

The Russian leader said he had discussed the matter with Donald Trump at a summit in Helsinki on Monday.

TIME's new cover merges Trump and Putin's faces

The revelation came amid growing pressure on the White House to provide a full account of Mr Trump's two-hour private meeting with his Russian counterpart.

Some Democrats have pushed for the US translator in the room to provide an account to Congress after Russian officials said "important verbal agreements" had been made.

Mr Trump has called on Nato members to increase their contributions to the alliance, but has queried whether Montenegro, the alliance's newest member, should be part of the bloc at all, calling its people "aggressive".

Russian forces entered two breakaway Georgian regions in 2008 and annexed Ukraine's Crimea in 2014, after which a pro-Russian separatist uprising erupted in eastern Ukraine.

Trump in Helsinki: Putin meeting and protests Show all 16 1 /16 Trump in Helsinki: Putin meeting and protests Trump in Helsinki: Putin meeting and protests President Trump meets with Russian President Vladimir Putin in Helsinki Reuters Trump in Helsinki: Putin meeting and protests An advert from Finnish newspaper Helsingin Sanomat is on display in Helsinki Reuters Trump in Helsinki: Putin meeting and protests President Trump in a meeting with Finnish President Sauli Niinisto AFP/Getty Trump in Helsinki: Putin meeting and protests President Trump meets with Finnish President Sauli Niinisto in Helsinki EPA Trump in Helsinki: Putin meeting and protests President Trump talks with Finnish President Sauli Niinisto in Mantyniemi, the official residence of the Finnish President EPA Trump in Helsinki: Putin meeting and protests US, Finnish and Russian flags fly in front of the Presidential Palace in Helsinki EPA Trump in Helsinki: Putin meeting and protests A protester wears a mask featuring a portrait of Russian President Vladimir Putin during the so-called "Helsinki against Trump and Putin" demonstration on July 16, 2018, in the Finnish capital Helsinki. The US and Russian leaders opened an historic summit in Helsinki on Monday, with Donald Trump promising an "extraordinary relationship" and Vladimir Putin saying it was high time to thrash out disputes around the world. / AFP PHOTO / Jonathan NACKSTRANDJONATHAN NACKSTRAND/AFP/Getty Images JONATHAN NACKSTRAND AFP/Getty Trump in Helsinki: Putin meeting and protests Vladimir Putin gifts a football to President Trump at the press conference that followed their meeting AP Trump in Helsinki: Putin meeting and protests Trump supporters hold banners during a demonstration in Helsinki AFP/Getty Trump in Helsinki: Putin meeting and protests People protest for women's reproductive rights in Helsinki's Senate Square Reuters Trump in Helsinki: Putin meeting and protests A crowd watches the motorcade transporting President Trump through Helsinki AFP/Getty Trump in Helsinki: Putin meeting and protests Russian President Putin drives through Helsinki on his way to meet with President Trump EPA Trump in Helsinki: Putin meeting and protests A man in the audience of the joint press conference holds up a sign sign that reads "NUCLEAR WEAPON BAN TREATY". REUTERS Trump in Helsinki: Putin meeting and protests A man is removed from the joint press conference in Helsinki. Security removed the man after he pulled out a sign that read "NUCLEAR WEAPON BAN TREATY". REUTERS Trump in Helsinki: Putin meeting and protests President Trump and Russia's President Putin sit for a working lunch in Finland's Presidential Palace AFP/Getty Trump in Helsinki: Putin meeting and protests President Trump meets with Russian President Vladimir Putin in Helsinki Reuters

Swathes of both countries remain garrisoned by Russian troops, something Moscow says is in keeping with local people's wishes, but which the West and the governments of the two countries call an illegal occupation.

Nato leaders discussed ties with Ukraine and Georgia - both former Soviet republics once ruled from Moscow -- at their summit in Brussels earlier this month.

Prominent politicians in both countries are keen to join the Western military alliance, but have seen their chances of joining hampered by Russian territorial incursions.

Under Nato rules, countries with territorial conflicts cannot join the alliance.