Re: passwordless rsync?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gordon,

On Thu, May 28, 2015 at 06:11:20PM -0700, Gordon Messmer wrote:
> On 05/28/2015 04:40 PM, Suvayu Ali wrote:
> >Btw, to allow multiple commands from the same host, I guess I should
> >have multiple lines for the same public key?
> 
> No.  command="" is run instead of whatever was requested.  It's not
> conditional.  sshd isn't executing that command or allowing that key only
> when the command requested and command="" match.  Nothing would cause sshd
> to prefer a command="" that matched the original.
> 
> If you want to allow multiple paths, you could use individual keys for each
> one, and the correct command for each key in the fire.

Makes sense :).

> 
> I use the script provided.  Put it in /usr/local/bin and use
> command="/usr/local/bin/validate-rsync-command.sh" ...

Thanks!

> 
> >Also, any ideas what
> >should be the command to allow rsnapshot backups?
> 
> rsync is the only command that rsnapshot will call on the source system.

I meant to say what command options rsnapshot adds to rsync, but I think
I can find that out by looking at short_options, and long_options in
rsnapshot.conf.

Thanks again,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux