[Ilugc] rsync command

  • From: venkatd@xxxxxxxxxxxxx (Venkatraman Dhamodaran)
  • Date: Fri Aug 12 12:24:35 2005


Hi All,
 
     rsync -av --rsh=/usr/bin/ssh test@xxxxxxxx:/usr/testing/ 
/usr/testing If I apply the above command It is asking the user to 
enter the password, by what are all the ways in which we can avoid 
asking the password.

I havent executed the command, as far as my understanding, SSH connection is
asking for password.
You can use three way of authentication for SSH

1. Key authentication.
                two options (without user intervention)
                        (i) pulic key with empty passphrase.
                        (ii) using SSH agent
2. password authentication. --> ruled out 
3. Host authentication.


 
all of you note that I am using the ssh connection for accessing the 
other server. In manual page they have mentioned that we can't use ENV 
variable to access the passsword by default
 
 
Please provide your Ideas.
 
with regds,
Anthony Jesu Ashok S.
 

Other related posts: