Hi Alan,
Please do not top post (please read the mailing list guidelines at the
bottom of each message).
On Thu, May 28, 2015 at 02:14:16PM -0700, Alan Evans wrote:
On Thu, May 28, 2015 at 1:59 PM, Dustin Kempter
<dustink(a)consistentstate.com
> wrote:
> Hi all, Ive been looking into a way to run rsync from server1 to server2
> using ssh-keys
> but not allowing the user from server 1 to login to server2 or to run any
> other commands
> only rsync. Ive seen a few postings of how to do it, where they add a
> command=“some command” line in the .ssh/authorized_keys file. But I can’t
> seem see the same result even when I copy and paste what they had. Any
> advice or help would
> be greatly appreciated.
google "ssh-keygen". You will find things like:
http://www.linuxproblem.org/art_9.html and similar.
I believe the OP already tried that. He mentions .ssh/authorized_keys
in the email.
Dustin, I have faced this problem too! For some reason the
command='somecommand' trick does not work. I think some magic
incantation is missing from the docs. I would also like to know the
answer to this.
Cheers,
--
Suvayu
Open source is the future. It sets us free.