Rsh remote command to run on a port

177 Views Asked by At

We have a replication server that we use to query DB. Each port number on replication represents the original server where each database lies for us to query.

So i want to do e.g

rsh replicationServer:3306 "select x from y"

But can't figure the exact syntax. Perhaps there is an alternative method but i can't find from my research.

0

There are 0 best solutions below