[SWLUG] Network backups

Dave Cridland dave at cridland.net
Sun Sep 10 19:07:48 UTC 2006


On Sun Sep 10 20:00:24 2006, Justin Mitchell wrote:
> you can mess about with sudo, but as you will undoubtedly want to 
> run
> the backup in some automated way

In this instance, it's a one-off, manual thing, in preparation to 
flattening and reinstalling the machine, or at least I *think* that's 
what Glenn said.

> also, when connecting to the remote machine it will also normally 
> ask
> you for a password, this can be fixed by using authorized_keys. in
> short, use ssh-keygen to make a public/private key pair, copy the 
> public
> key to be ~/.ssh/authorized_keys on the machine your connecting 
> into. it
> wont ask you for a password anymore.

As a side note, that's true even if the root account has no password 
- Glenn can put a public SSH key into the /root/.ssh/authorized_keys 
file (or copy a public key there if it doesn't exist) using the sudo 
method, and then the account owning the private key can ssh in as 
root.

Of course, your comments in general are spot on in terms of ongoing 
backup.

Dave.
-- 
Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



More information about the Swlug mailing list