@cynikal: thank you http_proxy is what I was looking for. I did "export http_proxy=socks5://127.0.0.1:11334" and it doesn't work because according to this(
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY) my curl version(7.21.3) doesn't support protocol prefix(socks5://) on the URL. so I did some research but I couldn't find how to specify socks5 with env. variables? do you know how?
thank you
sorry, i use a http proxy myself (i run one on a server remotely and then i ssh tunnel to that proxy directly, rather than use ssh tunnel as a socks proxy). upgrade your curl version? or staticly compile a local version of newer libcurl and link/include that static lib into your miner ?