Reputation: 4017
Well, the title is pretty explanatory by itself. I need to install python stuff using easy_install, but I need easy_install to connect through a SOCKS5 proxy. Any ideas?
Upvotes: 1
Views: 1888
Reputation: 13271
When i need to protect my connection, i'm using tsocks. It act as a transparent layer for network connection. Create a configuration file named tsocks.conf
:
server = 127.0.0.1
server_type = 5
server_port = 1080
Then you can use it like this (sudo is needed only for easy_install):
TSOCKS_CONF_FILE=tsocks.conf tsocks sudo easy_install -U docutils
A side note, i'm mostly using ssh with socks proxy feature too (this example will connect to the ssh of myserver.com, and create a local socks proxy server listening on the port 1080):
ssh -D 1080 myserver.com
Upvotes: 3