scp, don't prompt password!!
scp somefile.ext username@remotehost.tld:/path/to/where/I/want/it
This obviously asks for my password. I do not want it to ask for my password, I want to put the password on the command line. So I tried:
echo "secret" | scp somefile.ext username@remotehost.tld:/path/to/where/I/want/it
That does not work.
How do I pass the command my password so I can put it in a script ?
Thanks,
David
|