aurora/rmate — pull request #1 by sorbits (2011-12-27 22:08:13+00:00)
Title: Support RMATE_{HOST,PORT} variables.

These specify the default host and port that rmate should connect to. This not only makes it easy to configure default values but is (AFAIK) the only way to have multiple machines connect to the same shell account and each get their own unique port (by forwarding the variables from the client to the server).

The last bits of this blog post explains the ssh variable forwarding: http://blog.macromates.com/2011/mate-and-rmate/