1 |
Hi list, |
2 |
|
3 |
I need to set up a cron job to transfer a file every day from server A |
4 |
to server B. |
5 |
|
6 |
I'd like to do that via ssh and with no user assistance, completely automated. |
7 |
|
8 |
Setting up a public key, would do the job, but then, all the |
9 |
connections between the servers would be passwordless, so if server A |
10 |
gets compromised, also server B is screwed. |
11 |
|
12 |
Is there a way to allow only one single command from a single cronjob |
13 |
to operate passwordless, while keeping all the other connections |
14 |
secured by a password? |
15 |
|
16 |
Thank you in advance for your help. |
17 |
|
18 |
TopperH |
19 |
http://topperh.ath.cx |
20 |
|
21 |
---------------------------------------------------------------- |
22 |
This message was sent using IMP, the Internet Messaging Program. |