scp without password between two servers

view story

http://www.unix.com – Hello Folks, I have two linux server accounts server1 and server2 From the terminal if I say this command, Code: scp /source/folder/from/server1/unix.txt [email protected]:/destination/folder/ Then it prompts for the password Code: [email protected]'s password: I enter my password and then it starts copying. But, I would like to do this using bash script because of the size of the files. I searched online before posting and came across using Code: ssh-keygen . This one will not serve the purpose because I don't have admin rights to copy the .pub files on to othe (HowTos)