Date: Sat, 05 Jan 2002 19:06:08 -0500 From: Gerard Samuel <trini0@optonline.net> To: FreeBSD Questions <questions@FreeBSD.ORG> Subject: scp job Message-ID: <3C3794F0.8050807@optonline.net>
next in thread | raw e-mail | index | archive | help
Hey all. Im trying to setup a cron job involving scp. So Im trying to make a script. All the boxes are on my lan. On the recieving box, I ran ssh-keygen and copyed the identity file via scp to where the script is supposed to run. Here is the script --------------------------------------- #!/bin/sh zip -r /tmp/html_dev /files/www/data/test scp -i /root/bin/identity /tmp/html_dev.zip developer@gatekeeper: rm /tmp/html_dev.zip ---------------------------------------- When I try to run it I get this after its finished the zip portion. Permission denied. lost connection I tried using the identity.pub file also, but no dice.. How does one automate scp to get its password so the script could finish the job?? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C3794F0.8050807>