LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How can I ssh into Linux box and play music back to laptop locally? (http://www.linuxquestions.org/questions/linux-networking-3/how-can-i-ssh-into-linux-box-and-play-music-back-to-laptop-locally-854068/)

trox 01-04-2011 02:58 AM

How can I ssh into Linux box and play music back to laptop locally?
 
Ok, I've got two things I am trying to do and there seems to be no simple solutions. I am wanting to ssh into my Linux box from my laptop (Mac) and play the arsenal of music I have stored on the Linux box back to the laptop locally. I hear of people ssh-ing from work and playing music from home all the time. I have googled for days relentlessly with no way of getting the music to play back to my laptop.

1. I would like to be able to do this outside my LAN. 2. Inside my LAN, I can only seem to get the songs to play on the server. It seems there is a way to forward the sound via ssh somehow. I haven't figured it out yet. Any experts on this?

Thanks,

trox

acid_kewpie 01-04-2011 03:10 AM

personally I'd probably just use sshfs to mount the remote files locally and treat like they were right there on your mac. much less farting about that way. In terms of bandwitdh requirements etc, transferring the original file, in MP3 format etc, must take much less bandwidth that a converted audio stream.

reed9 01-04-2011 09:23 AM

I do this using MPD's HTTP streaming abilities.

From work, I ssh in to my home computer, run the MPD client, ncmpcpp, and then listen from VLC on my work computer.

You'll need to configure your router to forward the port you use for MPD. And I use dyndns for a domain name.

jefro 01-04-2011 01:40 PM

http://wiki.fireflymediaserver.org/SSH_Tunnel

trox 01-05-2011 05:11 AM

ssh into Linux box and play music back to laptop
 
Well, I've been using xbmc and mediatomb for the past two weeks. Works great in my house. Now if I could learn how to get to it from outside my LAN, I'd be very happy! :)


All times are GMT -5. The time now is 10:20 PM.