I have several locations from which I like to access my music, and so far everything has been working perfectly. Basically, at home I'm running an SSH server, and at each of the remote locations I'm have an SSH tunnel set up to the home server. At the remote locations I can access SB Server just fine by going to http://x.x.x.x:9000, where x.x.x.x is the IP address of the computer running the SSH client.
I have several Booms set up at the remote locations, each of which sees the server just fine; like I said, everything has been working perfectly...
...until I decided to buy the Touch. The touch can't find the server. I tried entering a Remote Library w/ the IP address of the machine running the SSH client, and it doesn't work.
I fear this is related to this NOW OVER 2 YEAR OLD bug:
http://bugs.slimdevices.com/show_bug.cgi?id=8800
also described in this thread:
http://forums.slimdevices.com/showth...hlight=ssh+udp
i.e., for some reason no one can explain, SqueezePlay (which I take it the Touch uses?) requires UDP ports to be forwarded.
Has anyone got this working with a Touch?
It'd really a shame if there were no way to get the Touch working with what is pretty much the only secure way to access the server from a remote location (SSH).
Results 1 to 10 of 10
Thread: Can't Access Server over SSH!
-
2010-08-09, 10:28 #1Member
- Join Date
- Aug 2006
- Posts
- 55
Can't Access Server over SSH!
-
2010-08-09, 11:01 #2
I'm still waiting for it as well...
Right now, there is a huge usage hole with this. Granted it is sort of on the technical side of things to setup, but extremely simple to use once it is setup so I'd not hessitate setting up something like this for a non-technical relative, etc. if given the chance.
It would be nice if all of the "new" players/devices had this capability - even if I have to setup a box at the remote location to funnel everything through.
For the older ones, I'd understand that there is no chance of support without the remote box to handle the ssh - that would be fine as well, but I can see not making it a priority since the major emphasis would be to sell new units...
-
2010-08-10, 08:22 #3Member
- Join Date
- Aug 2006
- Posts
- 55
This was actually why I got the Touch -- to allow my parents to access my music from their house. We have a Boom at their place in the room where we usually stay when we're visiting, and it works flawlessly.
This is a major step backwards with the SqueezePlay-based devices. I really would rather be able to, you know, listen to my music as I always have, than be able to Facebook, or whatever the heck else the priorities are now...
-
2010-08-10, 09:50 #4Junior Member
- Join Date
- Oct 2007
- Location
- Vienna, Austria
- Posts
- 26
You can ssh into the Touch and try this:
Then select localhost (127.0.0.1) as the music source.Code:ssh user@remote.server.com -L 9000:remote.server.com:9000 -L 3483:remote.server.com:3483 -g
I've tried this using my local server (192.168.etc) as the "remote" server and I was able to connect to the tunneled server.
-
2010-08-10, 10:20 #5Junior Member
- Join Date
- Oct 2007
- Location
- Vienna, Austria
- Posts
- 26
-
2010-08-10, 14:51 #6Member
- Join Date
- Aug 2006
- Posts
- 55
-
2010-08-12, 12:10 #7Junior Member
- Join Date
- Oct 2007
- Location
- Vienna, Austria
- Posts
- 26
I came across this:
http://zarb.org/~gc/html/udp-in-ssh-tunneling.html
and tried the suggestion at the bottom: to forward the upd-traffic via socat. So I added port 9011 to my tcp-tunnel to tunnel the upd traffic for port 3483 across it.
I've tried this setup with Windows Xp and Ubuntu 10.04 as clients (socat is available as windows-binary with cygwin dll's), but with none of them I was able to connect to squeezebox server.Code:Server side: socat tcp4-listen:9011,reuseaddr,fork UDP:localhost:3483 Client side: socat udp4-listen:3483,reuseaddr,fork tcp:localhost:9011
The server is Debian Lenny btw.
I'm really surprised, that apparently nearly nobody seems to care about connecting to a remote library over ssh..
-
2010-08-13, 17:20 #8Member
- Join Date
- Aug 2006
- Posts
- 55
Thanks again welom for your attempt.
I've decided to try to return my Touch to Logitech for a refund, as there seems to be no evidence that this will ever be fixed. It's too bad.
-
2012-03-22, 11:33 #9Junior Member
- Join Date
- Mar 2012
- Posts
- 2
I was able to find a solution and posted it on my blog http://stonezdup.com/2012/03/ssh-tun...d-squeezeplay/ as well as on the slimdevices Bugzilla http://bugs.slimdevices.com/show_bug.cgi?id=8800. To hit as many eyeballs as possible, I'm reposting the text from the Bugzilla post here.
I was able to workaround the UDP requirement and have posted my findings at http://stonezdup.com/2012/03/ssh-tun...d-squeezeplay/
The main trick is using socat (http://www.dest-unreach.org/socat/) to forward the UDP traffic over a random SSH forwarded port and then retranslates it back to to UDP on the other side. There's a lot more information in the blog post, but I wanted to include a straightforward shell script here just in case something happened to my server.
#!/bin/bash
username=example_user
hostname=example.com
ssh -f -g \
-L 3483:localhost:3483 \
-L 3484:localhost:3484 \
-L 9000:localhost:9000 \
$username@$hostname \
'socat tcp4-listen:3484,reuseaddr,fork UDP:localhost:3483'
socat -T15 udp4-recvfrom:3483,reuseaddr,fork tcp:localhost:3484
-
2012-03-23, 05:27 #10Junior Member
- Join Date
- Jun 2009
- Location
- Danmark
- Posts
- 29
Great post, thanks for the info.
I wonder if I can install socat on my tomato router..

Reply With Quote


