How can I redirect the microphone of one computer to listen to it on another computer via ssh? Which is the right device or which is the right command line?Some years ago it was easy and fun to redirect sound from a remote microphone to a local computer or vice versa  it was an easy telephone. There are some instructions for it, but none of them seem to work on newer computers/linux distros. I dont even have a /dev/audio on my computer (Fedora 17).I think that it may have something to do with pulse audio. Or dont I need pulse audio for this simple telephone? Which is the right device?I can see all my sound devices when I start alsamixer and press the F6 key. But I dont know which are the devices in my /dev tree.
redirect sound (microphone) via ssh, how to telephone via ssh?
ssh;audio;remote;telephony
OK, I've just found it, and it still works! Really funny. You dont need any fancy applications, instant messengers or the like. With this command you send your audio to the remote host.arecord -f cd -t raw | oggenc - -r | ssh <user>@<remotehost> mplayer -Or if you like ffmpeg betterffmpeg -f alsa -ac 1 -i hw:3 -f ogg - \    | ssh <user>@<remotehost> mplayer - -idle -demuxer oggSource: http://shmerl.blogspot.de/2011/06/some-fun-with-audio-forwarding.htmlIf you want a real telephone:The command above was only for one direction. For the other direction you have to start another ssh session. So, to receive what the other user says to you, usessh <user>@<remotehost> 'arecord -f cd -t raw | oggenc - -r' | mplayer -Or if you like ffmpeg betterssh <user>@<remotehost> ffmpeg -f alsa -ac 1 -i hw:3 -f ogg - \    | mplayer - -idle -demuxer oggwhere hw:3 is the alsadevice you want to record (find it with arecord -l; you can also use a device name, find this with arecord -L; in many cases you can just use the device listed with the following command: arecord -L | grep sysdefault).