I am not sure if this helps any or has been answered before but here goes: Create a keypair 'ssh-keygen' as root on the machine you are running the tar command on. Then place the public part of the keypair, i.e. id_dsa.pub, in the file /root/.ssh/authorized_keys2 on the target machine. You can ssh to the target machine without having to supply a password. See the man pages for 'ssh' 'ssh-keygen' paying special attention to the permissions required on the ~/.ssh directories on both machines. With publc/privated keypairs properly setup you can securely ssh to any machine without passwords..even to running Xwindows applications over a secure connection. > > Ryan McDougall writes.... > > > > > > 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 > > > > Not sure if this would work but, can you do a > > root:password@192.168.0.2 or root@192.168.0.2:password ? I > would try > > this out but unfortunately my box is down at the moment and I am at > > work, so I can't just reboot it :-( > > In general, if you supply passwords on the command line, be > careful. Sometimes they will show up in things like 'ps', and > there is your password floating around for anyone to see. > And in this case, root. > > > > > Ryan > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Tax Center - forms, calculators, tips, more > > http://taxes.yahoo.com/ > > > > > > > > -- > > Psyche-list mailing list > > Psyche-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list