This is how I got it to work:
Install openssh-clients-3.1p1-6.i386.rpm from RedHat 7.2
rpm -ivh --nodeps openssh-clients-3.1p1-6.i386.rpm
For fully automated, you will need to setup your identity files between the
firewall box and whatever system you are copying to so that there is no password
prompting.
Contents of
/home/admin/backupfw #!/bin/bash NUMBER=`date_start` export
NUMBER CPDIR=/opt/CPshrd-50-03 export
CPDIR /bin/cpstop_start /bin/backup_start all
$NUMBER-FP3-N1 /usr/bin/scp -Bq -i /root/identity_file
/opt/CPbackups/$NUMBER-FP3-N1 user@host:$NUMBER-FP3-N1
/bin/cpstart_start
Dave Crowfoot
>>> [email protected] Wednesday, March 05, 2003 8:41:28
AM >>> Thanks David. Actually is there a way to use scp
intead of tftp? It seems there is a cut down version of openssh installed
on SecurePlatform - has scp but no ssh or slogin, etc. And I can't get
the scp to work (complains about no
/usr/bin/ssh).
|