I need to transfer three files everynight (in response to a previous email question). How can I get this to work? I have tried and can not seem to get it to work. This is what I have done: 1) From the computer which I intend on connecting FROM I ran: # ssh-keygen -t rsa and hit enter for the passphrase. 2) I then copied this from the SOURCE directory to the DESTINATION machines /home/bdina/.ssh. I repeated this for root as well using root to generate the key and then /root/.ssh as I did not know if that would be needed to get cron working. 3) I made a connection and it still asked for a password. *** I believe that DSA is the better encryption (I could be wrong though). > >2) I then copied this from the SOURCE directory to the DESTINATION >machines /home/bdina/.ssh. I repeated this for root as well using root >to generate the key and then /root/.ssh as I did not know if that would >be needed to get cron working. All you need to copy is the id_rsa.pub file to the destination machine, and copy it to authorized_keys: cat id_rsa.pub >> authorized_keys > >3) I made a connection and it still asked for a password. > Check /var/log/messages on both machines and use ssh -v remote_machine to get a better look at the errors that you are having. zvlaste prava k ~/.ssh a sooborum uvnitr viz tez prepinac -v, napr. scp -v *** http://www.indiana.edu/~rats/research/steel/ssh2-setup.shtml ***