how to give password in shell script after scp
i have to transfer file using scp
when ever i do so I have to type password after the scp command is executed
example
(shell script code)
scp abc.text user@hostname
(while running this shell script after this command it ask for password)
(shell script code)
I want to give the password with this command so that this entire script should work automatically.
|