"ssh -NL localhost:6666:your.machine.with.bitcoind.you.want.to.talk.to:8332
your.user@your.machine.with.bitcoind.you.want.to.talk.to"
and then run "bitcoin-qt -rpcport=6666 -rpcuser=whatever.on.your.machine.with.bitcoind.you.want.to.talk.to -rpcpassword=xxx.on.your.machine.with.bitcoind.you.want.to.talk.to"
Again, I haven't tried this (with bitcoin-qt). I have tunnelled with ssh.
Am I just being thick? I can't see where the port 8332 fits in the chain...