LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to listen to music through ssh (http://www.linuxquestions.org/questions/linux-networking-3/how-to-listen-to-music-through-ssh-505462/)

dont_stop_me 11-28-2006 01:15 AM

how to listen to music through ssh
 
Hello,
Is it possible to listen to music through ssh? If it is how?

sumanc 11-28-2006 01:37 AM

Same here ...
 
:confused:

I'd like to know as well !

nx5000 11-28-2006 05:36 AM

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

dont_stop_me 11-28-2006 02:37 PM

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?

nx5000 11-30-2006 07:00 AM

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.


All times are GMT -5. The time now is 05:41 PM.