home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] passwordless ssh access to just one directory tree / auto close of app

  • Subject: Re: [OCLUG-Tech] passwordless ssh access to just one directory tree / auto close of app
  • From: Mark Little <marklittle [ at ] koallo [ dot ] com>
  • Date: Sat, 18 Oct 2008 19:43:23 -0400
On Fri, 17 Oct 2008 15:53:54 -0400, John C Nash <nashjc [ at ] uottawa [ dot ] ca> wrote:
> I'm working gradually toward a fairly nice setup to use a laptop to play 
> music for dancing. The current setup is debian + kde. I make the machine 
> come up without login to a konqueror screen listing the dance mp3s and 
> instructions (plain txt), and have set the font quite large. No mouse or 
> touchpad needed, just up and down arrows and enter.
> 
> Two questions:
> 
> 1) For updating the collection, I'd like to rsync with a directory (and 
> any subdirs) on a server, but want the "music machine" to only have 
> access to the single directory, which I don't really want under a 
> separate user on the server, since the files are part of a larger 
> collection and files migrate in and out as we test them out for use. Is 
> there a way to have an ssh key so only the one directory is accessible.


Hey John,

Only have a possible solution to the first one.  If you are worried about
using straight rsync instead of rsync over ssh because of security, you
could just setup an SSH tunnel between the systems and then export your
specific folder via rsyncd.

So its secure and only the exported folder is available.


Cheers,
Mark