1 |
Hi guys, |
2 |
|
3 |
I have a problem with scp bash script. I was trying to automate scp command |
4 |
to copy files in and out, and I was trying to avoid key in the password |
5 |
myself. |
6 |
|
7 |
So I attempt to use the "here string" feature of bash, it didn't work with |
8 |
scp. |
9 |
|
10 |
And those server I am working with, they don't have expect package |
11 |
installed. :-( |
12 |
|
13 |
ps. I am not supposed to change the configuration of the servers( includes |
14 |
setup openssh keys, or install expect) |
15 |
|
16 |
You guys have any idea that can help this case? |
17 |
|
18 |
Thanks & Regards, |
19 |
kit393 |