I would create a ssh public key pair with a null password.  Works for me
then I don't have the root password laying around in unencrypted form and
also I don't have to make changes to any scripts if I were to choose to
change the root pass.

Calvin Bebermeyer
[EMAIL PROTECTED]
----- Original Message -----
From: "Jason Dale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 8:47 AM
Subject: Re: network backups with tar


> Yup, I did use root, but I still had a typo after root, so it could not
find
> the user
> name. Thanks, *looking very sheepish*
>
> I don't suppose there is a way to supply the root passwpord on the
> command line? this would be great,  because I could then run this command
> in the task scheduler
>
> Jason
>
> ----- Original Message -----
> From: "Toni Erdmann" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 20, 2003 4:40 PM
> Subject: Re: network backups with tar
>
>
> > Ryan McDougall wrote:
> > > <snip>
> > >
> > >>BTW, when I run the command
> > >>
> > >># tar cvzf - /tmp/testdir | ssh [EMAIL PROTECTED] 'cat >
> ~/backup.tgz'
> >                                    ^^^^
> >
> > replace 'user' by 'root' and use root's password of 209.212.123.157
> > (just to be sure that we mean the same thing)
> >
> > >>
> > >>It asks me for a password, and when I type the correct root password
in,
> ( I
> > >>logged into the 'sending'
> > >>server as root ) , it tells me "Permission denied, please try again".
> >
> >
> >
> >
> > --
> > Psyche-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/psyche-list
>
>
>
> --
> Psyche-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to