Hi list,
I have put the private key into my debian VPS (in ~/.ssh/ dir).
When I scp a file from this VPS to another one by hand without password,
it works.
But when I put this scp into crontab, it seems not work. The scp in
crontab via private key didn't run as I expect, nothing was copied to peer.
Can you help?
Thank you.
Marcus
I have put the private key into my debian VPS (in ~/.ssh/ dir).
When I scp a file from this VPS to another one by hand without password, it works.
But when I put this scp into crontab, it seems not work. The scp in crontab via private key didn't run as I expect, nothing was copied to peer.
Hi list,
I have put the private key into my debian VPS (in ~/.ssh/ dir).
When I scp a file from this VPS to another one by hand without
password, it works.
But when I put this scp into crontab, it seems not work. The scp in
crontab via private key didn't run as I expect, nothing was copied to
peer.
Can you help?
/usr/bin/scp -i /home/userYX/.ssh/myKEY root@example.com ...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:31:57 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,518 |