Im trying to scp including password in one line... seems not working.
echo "pass" | scp --stdin source destination
However this does work though
echo "newpass" | passwd --stdin user
same concept, diff result. Any suggestion would be great. Thanks