l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:10

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] remote execution question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] remote execution question

On Sun, Sep 16, 2001 at 09:32:51PM -0700, William Kendrick wrote:
> I'm hoping someone here might have a suggestion for me. :)

I do.

> I've got a RIO MP3 player connector hooked up to one of my Linux boxes,
> and I'd like to be able to copy files to (and, less likely, from) it
> from remote systems.
[snip description of manual approach using scp and ssh]
> I'd like to have a script on all of the other systems on my LAN which
> will do something like this for me.

Did you know that ssh has many many options besides normal telnet-like usage?
You can specify a remote command for example. For extra convenience and
security, set up a key in ~/.ssh/authorized_keys on the remote end that is
restricted to running a named command. Read the (thorough!) ssh man page for
descriptions of how to do all this.

> I guess it'd be kind of like remote printing with LPD, but instead of
> printing and using LPR/LPD, this is MP3 transfering using SOME_SCRIPT/RIO.

Actually you could do this with lpr, if, for example, you had in

	mp3|Dummy printer for MP3s

and in /etc/lpd-filters/mp3:

	cat - > $tmpfile
	rio -u $tmpfile
	rm -f $tmpfile

and you could have a shell alias to invoke lpr -Pmp3 as well ;-).
Henry House
OpenPGP key available from http://romana.hajhouse.org/hajhouse.asc

Attachment: pgp00025.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!