I have been facing this problem for the last couple of days. I have 2 remote Linux Servers located at Mumbai and chennai. I need to copy files to my other machine in the night.
Generate keys and write a GNU expect script which you put in cron then enjoy a good night's sleep ;-)
Problem is that scp command asks for password on
every execution.
redhat knowledge base (
http://kbase.redhat.com/faq/FAQ_45_8645.shtm) has highligted a way to use scp command w/o any password.
Despite me using their steps, i am unable to do the same.
Can some one help me ???
Only if you tell us what exactly happens on you trying to ssh after that. Oh, also tell us the permissions of the files inside the user's .ssh directory.
Regards,
- vihan