Quoting "Tim K" <
tim@smsd...>:
> I'm thinking like BSD *nix here, but Linux (et al ) might be applicable.
>
> When a user ssh's as root using a shared key, both the
> PermitRootLogins parameter in sshd_config must be set to yes and the
> shared key must be accesible to the ssh daemon. When using root
> from a command line, root knows where to look for its shared keys,
> but when run from a script as root, doesn't the path or home
> directory for root have to be set someplace?
You've successfully reminded me of what it was I needed to do.
It needs a key suitable for unattended interactive use in root's ssh
with the public key authorized on the other machines - and it's the
one thing I hadn't redone.
Many thanks all - I knew it would come to me if someone said the right thing.
The clue was also that, if I directly logged in as root, it prompted
for the password!
--
Phil Reynolds
mail:
phil-flexbackup@tins...
Web:
http://www.tinsleyviaduct.com/phil/
Waltham 66, Emley Moor 69, Droitwich 79, Windows 95
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
flexbackup-help mailing list
flexbackup-help@list...
https://lists.sourceforge.net/lists/listinfo/flexbackup-help
opensubscriber is not affiliated with the authors of this message nor responsible for its content.