google "ssh-keygen". You will find things like: http://www.linuxproblem.org/art_9.html and similar.

On Thu, May 28, 2015 at 1:59 PM, Dustin Kempter <dustink@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.

Thanks in advance!
--
users mailing list
users@lists.fedoraproject.org
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