Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to transfer audio from my local computer to a remote one, eg through SSH?

I know this transfers mic to other computer

dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp

but as I didn't invent that my self I honestly don't know how to apply that for playing music?

share|improve this question
Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things. – nerdwaller Oct 25 '12 at 19:37

Do you want to play it through your computer's speakers (as opposed to the remote computer's speakers)? This question on may shed some light on it. Forwarding audio like X in SSH

share|improve this answer

Well you can use mpd for remote playing, but it works like this: you set up the mpd server on one computer, where your mp3/ogg collection sits, and then you can use a mpd client (such as sonata) on another computer where you play the music.

It all depends on where you want to control the playback - on the server (where the music library sits) or on the client (where you have the speakers connected). If you want control on the client, mpd is your buddy.

If, on the other hand you just want a dummy pc with speakers connected and you want to control what's playing from another pc with the music library, then you should try icecast I think, although I haven't tried it yet.

Or, a third way, you have the library and speakers on one pc, and just control everything from a different pc. This would be best done by an mpd config where the client and the server are on one pc (the one with the library and the speakers) and you just ssh into it and use a console client to just control the music (console mpd clients: mpc, ncmpcpp - my favorite).

I can think of another config: one pc to control the music, one pc with the speakers and a third pc (NAS most likely) which holds the music library in the network - this is easily doable with mpd too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.