Passing a password into ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good morning all:

I want to use ssh in a script to do a night backup of some machines via
cron job.  It looks something like:

ssh -l root <server> 'dump 0cf - /filesystem' | gzip > filesystem.gz

Anyone know how I can pass the root password into ssh on the command
line?  

-brian

Brian D. McGrew { brian@xxxxxxxxxxxxx || brian@xxxxxxxxxxxxxxxxxxx }
--
> Those of you who think you know it all,
  really annoy those of us who do! 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux