I have a python script. In that, I am using
rsync for data transfer between two systems. While running, it ask for password for data transfer. So that I create a password-less run by the below command.
ssh-keygen -t dsa ssh-copy-id -i $HOME/.ssh/id_dsa.pub firstname.lastname@example.org
Now it works fine. While running my python script, the data can be transferred without asking for password. But the problem is that I create a crontab job, and run my script at every reboot, which means every time the system is on, the code will be executed automatically.
In this situation, while reboot, my script starts to execute. But it asked destination system password for data transfer (open one small dialog-box in the name of
What to do while reboot the system is not suppose to ask password.
Note: if I am supposed to run my script manually, it could not ask password. The data can be transferred to destination system perfectly.
If you know please teach me .I am waiting.