Using pithos with ssh and without socks
Posted in Uncategorized by Julian Kessel - Aug 01, 2011
Pithos is a native pandora client for linux which uses the pianobar library.
Users with their endpoint outside of the US have the common problems using pandora with tunnels and so on.
If you have a ssh connection to somewhere in a allowed country and being allowed to create port forwardings, this is for you:
Since pithos doesn't allow socks proxys yet you can do an admittedly bad, but working workaround:
get the pandora hosts:
host pandora.com pandora.com has address 208.85.40.20 pandora.com has address 208.85.40.50 pandora.com has address 208.85.40.80
setup your ssh connection:
ssh user@server -L 8000:208.85.40.50:80
This will tunnel all traffic from localhost:8000 via your server to one pandora server on port 80, you can use another ipaddr if you want.
Now you have to enter http://localhost:8000 in the proxy field of pithos.
That's it :)
COMMENTS
