On 2/16/07, Gòþï <[EMAIL PROTECTED]> wrote:> Greetings,
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. 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 ???
Assuming a passwordless ssh setup between [EMAIL PROTECTED] and [EMAIL PROTECTED] here is a checklist for you : 1) The file name is $HOME/.ssh/authorized_keys2 for authorization file? 2) In both machines the authorized_keys2 file contains public keys of both [EMAIL PROTECTED] and [EMAIL PROTECTED] 3) The permissions of the authorized_keys2 is 600 at both places ? 4) The keys are generated using the same protocol ( dsa / rsa ) ( using -> ssh-keygen -t rsa ) ? 5) There is no problem with the identification ( visibility / mapping) of hostnames / ipaddresses ? 6) Have you restarted sshd service after making the changes ? 7) Can you perform the following passwordless ssh accesses ? [EMAIL PROTECTED] to [EMAIL PROTECTED] [EMAIL PROTECTED] to [EMAIL PROTECTED] [EMAIL PROTECTED] to [EMAIL PROTECTED] [EMAIL PROTECTED] to [EMAIL PROTECTED] Regards, Sourabh -- www.yuj.in -- http://mm.glug-bom.org/mailman/listinfo/linuxers

