Streaming audio over SSH.

4

1

I do most of my work over ssh on a remote linux server where I also keep most of my files. I'd like to be able to hear any sounds that normally would be on the PC speaker. Is there a way to have sound be sent through my ssh session along with the terminal display?

devnill

Posted 2012-01-17T10:44:47.523

Reputation: 210

1I would suggest PulseAudio, if it weren't such a bandwidth hog. – user1686 – 2012-01-17T12:39:26.117

@grawity: Just in case: http://askubuntu.com/questions/2145/how-can-i-use-pulseaudio-over-ssh

– Piskvor left the building – 2012-01-17T13:30:46.320

Answers

2

You can use pulseaudio for streaming audio.

But i would suggest mounting remote filesystem on a local folder using sshfs and playing files from there.

mkdir mountfolder
sshfs username@remotehost:/ mountfolder

daya

Posted 2012-01-17T10:44:47.523

Reputation: 2 445

thanks for this, it's something I've been wanting to do but too lazy to look up. – Rob – 2012-01-17T17:09:58.967

Is there a way to put the system audio though using pulseaudio? I really just want to be able to hear the server beep when I'm highlighted in irssi. – devnill – 2012-01-23T14:13:04.760