I am using scp command to copy one file to remote machine as follows
scp <localfile> email@example.com:/roo/
so it asking for the password,
my doubt is how to pass the password along with the command so i don't have to give password again.
I searched and find out about the keyfile set up but I do not need that idea .
I want to use the password.
So,kindly tell is it possible to use password if yes then how and if not then is there any other way to copy a file/directory in one command itself with out prompting for password.
kindly tell some suggestion ,it is needed for my work.