SAP gateway doesn't use ssh/rsh authentication, unless we are using option 'Remote shell', which is not the case for us. We are not allowed to use remote shell options in our infrastructure.
SAP Gateway port, by the way, is properly defined in /etc/services sapgw57 - wich is 3357/TCP, on the database and same defined in the RFC in the SAP application itself.