as i promised, i added ssh-tunneling integration. for an example, see https://github.com/tomerfiliba/rpyc/blob/master/tests/test_ssh.py for reference, see https://github.com/tomerfiliba/rpyc/blob/master/rpyc/utils/factory.py#L99 and https://github.com/tomerfiliba/rpyc/blob/master/rpyc/utils/ssh.py
it's currently based on the ssh command-line utility, which is a kind of "heavy" (running a separate process, etc.). i'm thinking of using paramiko (if installed) to setup the tunnel programmatically, and fall back to this implementation if paramiko is missing. however, i find paramiko cumbersome. if anyone's familiar with paramiko, and feels he could take that task, please do so. i can refer you to this example of setting up port forwarding: https://github.com/robey/paramiko/blob/master/demos/forward.py but i can't say it makes much sense to me. anyway, i think the command-line approach is stable and i plan to include it in the next release. if anyone has comments/suggestions/etc -- feel free to join the discussion. -tomer An NCO and a Gentleman
