on the client (texmate box) run the following
ssh -R 52698:localhost:52698 [target host or ip]
or
add the following to your ssh config entry inside a Host block
RemoteForward 52698 localhost:52698
###once logged in run
wget -O /somewhere/in/your/$PATH http://bit.ly/vAEbgj
chmod +x /wherever/you/put/the/above/file
rmate /path/to/your/file