LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-04-2011, 02:58 AM   #1
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Rep: Reputation: 15
Question 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
 
Old 01-04-2011, 03:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
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.
 
Old 01-04-2011, 09:23 AM   #3
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
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.
 
Old 01-04-2011, 01:40 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,970

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
http://wiki.fireflymediaserver.org/SSH_Tunnel
 
Old 01-05-2011, 05:11 AM   #5
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
Talking 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!
 
  


Reply

Tags
commands, music, remote, server, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Videos don't play over network, wireless or wired, using sftp but will play locally rrrssssss Gentoo 5 12-30-2010 01:19 PM
Play music in Linux fatema Linux - Newbie 6 07-18-2010 12:12 PM
Cannot ssh to Ubuntu box from Windows laptop. oo-ves Linux - Networking 16 06-18-2010 06:44 AM
Understanding SSH (Sun box to Linux box) oswald21 Linux - Newbie 2 07-08-2006 03:06 PM
Play music through SSH terminal? spiffytech Linux - Software 6 03-06-2006 06:30 PM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration