Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Re-enable iTunes sharing outside local subnet' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re-enable iTunes sharing outside local subnet
Authored by: ecammit on Mar 10, '04 04:16:23PM
Some people have reported that they are getting a "channel 2: open failed: connect failed: Connection refused" error from ssh with the lines I provided. If this is the case, try changing the 'localhost' in the lines I provided to '127.0.0.1'.

So,
sharing:
ssh -f -g -L 4689:127.0.0.1:3689 -l <username on server> -N < server or router ip>
not sharing:
ssh -f -L 4689:127.0.0.1:3689 -l <username on server> -N < server or router ip>


[ Reply to This | # ]
Re-enable iTunes sharing outside local subnet
Authored by: dbudde on May 05, '04 10:56:42AM

OK, I have this working now. Thanks for all the tips. Question though, when I put my client to sleep, and then wake it and run iTunes and try to connect to shared music on the server, I get the following error:

The shared music library is not accessible for an unknown reason (-3260).

How do I re-enable the 4689 port mapping without rebooting the machine? If I just re-execute the ssh command, I get the following message:

bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 4689
Could not request local forwarding

Also how does one get all this to happen automatically instead of opening a terminal and paste the command in manually after a reboot.



[ Reply to This | # ]
Re-enable iTunes sharing outside local subnet
Authored by: dbudde on May 05, '04 03:19:55PM

Nevermind. I found a nice little ssh manager app (ssh tunnel manager).

http://projects.tynsoe.org/en/stm/

You can add this to your startup items and it will setup your port forwarding. You can start and stop this with a single click also.



[ Reply to This | # ]