On Saturday, February 8, 2003, at 06:07 PM, Joshua Schmidlkofer wrote:
On Tue, 2003-02-04 at 15:22, David Simmons wrote:
We are trying to automate the update of files on a couple of different
linux servers. We are behind a firewall we don't maintain and are
only allowed to use SSH. We can copy the files using SCP, but we want
to automate the process. Is there anyway anyone knows of to feed SCP
the password in a shell script? Or is there any other way we can do
this copy without being asked for a password?
Thanks,
Dave Simmons
Did you get this figured out?
Otherwise use ssh-keygen to make keys, put the public key on the server
you are connecting to in the .ssh/authorized_keys2 of the remote users
home dir, and then use a specific keyfile for the scp. I use it in
several places, it is pretty handy.
js
-
VB programmers ask why no one takes them seriously,
it's somewhat akin to a McDonalds manager asking employees
why they don't take their 'career' seriously.
<signature.asc>
Try : http://expect.nist.gov/
RGDS
Lars
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list