set the tsocks.conf default server to 127.0.0.1 and the port to <yourPort>. then start ssh socks proxy with ssh -D <yourPort> user@server. then run tsocks <yourApp> and tsocks will intercept comms and point them to your ssh.