0

hi,
basically i am trying to write a quick script to remote copy something as follow.

"" scp [email]user@192.168.1.5:/var/tmp/file.txt[/email] /var/tmp/newfile.txt ""

if i do above cmd on the shell, i will be asked for password:

my question is, how i do automate the password part within the shell script to make it just copy without prompting for the password.


thanks

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by k2k
0

wow, thanks sknake. those 2 articles give me exactly what i need. = )

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.