On Thu 28 Apr 2005 16:24, Colm MacCarthaigh wrote:
> You can restrict what commands an ssh account can run in the ssh
> public key. This is how some of our more important projects (like
> Debian, FreshRPMS, and a few more) push us updates.
>> The key looks like;
>nd="/home/ximian/rsync-ximian -nolog &" ssh-dss <key data>
> <username at blah>
>> So, if you create a passwordless public key like so, and just change
> the command to whatver rsync runs.
Nice. I actually heard of that before on this list and it was probably
from your good self Colm.
I updated the ssh section of the article to reflect this:
And it includes a working example for rsync.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20050504/816a97db/attachment.pgp
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!