Observe these best practices.
When you create a resource file to create, configure, or initialize a Replication Agent instance, the resource file contains passwords in plain text, as well as host, port number, and username information.
After you install, configure, and start a Replication Agent instance, you can log in either remotely (from another host) or locally (from the same host), depending on where you have installed Replication Server and isql or Sybase Control Center for Replication.
[my_ra] query=NLWNSCK,my_host,10002To:
[my_ra] query=NLWNSCK,localhost,10002