LinuxQuestions.org
Visit Jeremy's Blog.
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 11-28-2006, 01:15 AM   #1
dont_stop_me
Member
 
Registered: Sep 2005
Location: Romania
Distribution: Slackware 12
Posts: 42

Rep: Reputation: 15
Question how to listen to music through ssh


Hello,
Is it possible to listen to music through ssh? If it is how?
 
Old 11-28-2006, 01:37 AM   #2
sumanc
LQ Newbie
 
Registered: Mar 2004
Location: Bangalore, India
Distribution: Ubuntu 9.04, Fedora 10
Posts: 23

Rep: Reputation: 15
Unhappy Same here ...



I'd like to know as well !
 
Old 11-28-2006, 05:36 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Esd can do this easily. Others also but I can't remember how

From local machine:
esd -tcp -public&
ssh user@some.server
export ESPEAKER=XX.YY.ZZ.TT (ip of the local machine)
ogg123 -d esd britney.ogg
 
Old 11-28-2006, 02:37 PM   #4
dont_stop_me
Member
 
Registered: Sep 2005
Location: Romania
Distribution: Slackware 12
Posts: 42

Original Poster
Rep: Reputation: 15
thanks

Thank you that worked well, I used
Code:
mpg321 --audiodevice esd xy.mp3
because I wanted to play mp3 format.

I still have some questions:
Is this working when the client uses a private IP(nated)?
Could I use a windows client?
 
Old 11-30-2006, 07:00 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Quote:
Originally Posted by dont_stop_me
Thank you that worked well, I used
Code:
mpg321 --audiodevice esd xy.mp3
because I wanted to play mp3 format.

I still have some questions:
Is this working when the client uses a private IP(nated)?
Then on the ssh server, put the public ip and be sure that on the NAT device, there is a translation public ip->private ip and that the NAT device lets the esd protocol pass from ssh server to client(port 16001).
If you have no access on the NAT device, then you can use the port forwarding of ssh (ssh -L) and then everything would be tunneled in ssh (safer also)
Quote:
Could I use a windows client?
Probably with cygwin esd yes. No clue for others, sorry I don't have windows. They have to be esd aware.
 
  


Reply


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
can listen music but not all applications sound... hgb Debian 10 07-21-2006 02:08 PM
Listen to music on my laptop from my server... pAn1k Linux - Networking 4 12-31-2004 02:03 PM
using Xine to listen to music=good slackist Linux - Software 2 05-11-2004 09:04 AM
listen live music.. mahamkali Linux - General 1 12-06-2003 02:34 PM
i just want to listen to music airWave Slackware 9 04-29-2003 12:05 AM


All times are GMT -5. The time now is 11:45 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