Error:
Replication-Replication Distribution Subsystem: agent . The process could not connect to Subscriber.
The replication works fine when done through Wizard, the scripts generated by wizard seems to be missing something about authentication at the the subscriber end.
Please let me know for any suggestions.
I added the right passwords in @job_password too.