On Fri, Sep 13, 2013 at 5:53 PM, David Williams <dwilli...@dtw-consulting.com> wrote:
>>> Sure - you need exactly the same for a restore as a backup - that is, >> root access to the target from the backuppc account on the server. >> Depending on the platform, you may be able to (starting from root on >> the backuppc server: >> su - backuppc (you might need 'su -s /bin/bash - backuppc' if there >> is no login shell for the account). >> ssh-copy-id root@target_host >> (and then answer the prompts to accept the host key and for the >> remote root password) >> That uses a password-based connection to set the keys up for you for >> subsequent passwordless connections. >> > Ok, gave the above a try and this is what happened: > > -bash-4.2$ ssh-copy-id root@linuxpc > /usr/bin/ssh-copy-id: ERROR: No identities found This isn't backuppc specific, it is just the way ssh works. If the backuppc user doesn't have a key pair in $HOME/,ssh/ yet, generate it with ssh-keygen. If there is a key pair and you still got that message, perhaps you missed the '-' in the su command that makes it pick up the new user's environment to find it. Or there could be permission issue with the .ssh directory or the files so the backuppc user can't read them. You can work around the environment being wrong with the -i option to ssh-copy-id command to pass the location of the identity file if necessary. As a side note, if you ever replace a backuppc server, if you copy the contents of the old $HOME/backuppc/.ssh file into the new one (keeping permission/ownership correct) you don't have to repeat all of the setup. -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/