Re: Backup with rsync

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

 



At 3:11 PM +0000 10/28/07, Timothy Murphy wrote:
>I've been using rsync to backup my desktop
>to another machine linked by ethernet.
>
>Actually, to date I have only been backing up
>my own files, and have had no problems.
>But I was thinking of backing up the whole system,
>and I discovered that I would have to allow
>root login with ssh.
>I know how to do this in the sshd config
>but would prefer not to do it if possible.
>
>Is there a simple way round this?

Use an ssh key:  locally run `sshkeygen -t rsa` (or dsa), append the
resulting public key to the server's /root/.ssh/authorized_keys, set the
server's /etc/ssh/sshd_config PermitRootLogin to "without_password" (or
"forced_commands_only" and set up the command; I haven't tried that),
restart sshd.  See `man sshd_config` and `man ssh-keygen`.  Use a good
passphrase to locally protect the key (personally I use the remote
machine's password which I have made reasonably strong -- I pull 10 or more
letters and digits out of a bag).
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux