LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-04-2010, 06:06 PM   #1
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
I want to play .mp3 files over ssh connection using putty


I am trying to play my audio files at work from my home computer over ssh. The computer I use at work is windows and so I use Putty to make that connection. However when I mplayer file.mp3, the file starts to play, but I am assuming it's playing on my home computer.....so, I am wondering, how do I forward the audio to my remote computer?

and no, can't use a CD... I work in a car with no CD player, and the computer is a Panasonic Toughbook with no CD-ROM... options are limited.
 
Old 04-04-2010, 07:57 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
What you are asking to do would be rather difficult because you would need to setup a sound server that is able to redirect sound from the local machine over TCP/IP to your work machine.

It would be much easier to simply mount the home computer over SSHFS and play the songs locally on the work machine. This way you are using whatever media player is native to the work machine and you won't need to muck around with pushing actual audio over the net.

Alternately you could run an audio streaming daemon on the home computer, essentially creating your own Internet radio station. This would be relatively simple, and it is a well documented process, but you wouldn't have direct control over the songs that are playing (at least, not through the client media player).
 
Old 04-04-2010, 08:45 PM   #3
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Original Poster
Rep: Reputation: 79
Thanks, I'll give the sshfs a try. I have never heard of that
 
Old 04-05-2010, 09:01 AM   #4
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Original Poster
Rep: Reputation: 79
it doesn't look like I can use sshfs with putty, so I guess I'll have to go with the audio streaming daemon. Thanks again
 
Old 01-04-2011, 01:34 AM   #5
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Rep: Reputation: 15
How do I ssh into my Linux box and play mp3 files back to laptop?

Quote:
Originally Posted by bret381 View Post
it doesn't look like I can use sshfs with putty, so I guess I'll have to go with the audio streaming daemon. Thanks again
Did you get this working? If so, how? I have been trying to do this forever.
 
Old 01-04-2011, 12:42 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I think that once you get ssh you could then nc the file over to the local system.

Might look at this too. http://wiki.fireflymediaserver.org/SSH_Tunnel
 
  


Reply



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
not able to play mp3 files and install vlc & mp3 players in fedora 8 harit agarwal Linux - Software 5 12-22-2008 04:50 PM
SSH connection from Linux to Windows using PuTTy legendaryhwk Linux - Security 2 04-05-2006 06:34 PM
Putty and ssh connection hangs KidKootenay Linux - Newbie 7 09-03-2004 11:30 PM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 09:47 AM
my PuTTY connection over ssh is too slow. chris.pickett Linux - Networking 2 11-22-2003 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration