JavaRanch has published my two-part article (Part-I, Part-II) on setting up SSH tunnel for RMI based distributed applications.
While researching for this article, one of my most interesting finding was that SSH tunneling offers the most elegant solution for the secure traversal of corporate firewall problem I have ever come across. It is much more functional (supports callbacks, server could be behind its own firewall and so on ) than the one based on RMI over HTTP and incorporates authentication, confidentiality and message integrity.
Given that setting up SSH tunnel so straight-forward, and offeres so many advantages, it is amazing that not much has been written about it.