Hi guys,

I have a problem with scp bash script. I was trying to automate scp command
to copy files in and out, and I was trying to avoid key in the password
myself.

So I attempt to use the "here string" feature of bash, it didn't work with
scp.

And those server I am working with, they don't have expect package
installed. :-(

ps. I am not supposed to change the configuration of the servers( includes
setup openssh keys, or install expect)

You guys have any idea that can help this case?

Thanks & Regards,
kit393

Reply via email to