With your clarification the first thing you need is to link the base through LinkServer to which you need to access remotely.
Then you add the necessary connection information to that server, where it will specify the name with which you will call that server.
Already with this you can make your queries between servers, you just have to specify the server of the table to which you need to access in the following way:
SELECT*
FROM [SERVIDOR].[BASE DE DATOS].[ESQUEMA].[TABLA]
For example:
SELECT*
FROM Servidor.MiDB.Dbo.MiTable
And if you need to consult with any table of a server with the others, as in a JOIN :
SELECT *
FROM MiTabla AS A
INNER JOIN Servidor.BaseDatos.Dbo.MiOtraTabla AS B
ON (a.id = b.id)
I hope my answer has helped you, regards.