a way to include password in an scp command?

I want to scp a directory to another server, however when i run the comand

scp -r /home/public_html root@ip:/home//public_html

it asks for password on that server, yet wont let me type one in.

is there a way to include the password in the comand?

 

 

 

 

Top