Hello,
The best / easiest solution is to install a standalone gateway at the DB host.
The alternative is to configure rsh or ssh in such a way that no password is required when the "<sid>adm" user executes commands from the SAP servers at the DB host using rsh/ssh.
Regards,
Isaías