First of all, I am well aware of that there are many of questions regarding this topic. I have read them, but still could figure out an appropriate answer for my situation.<
Use "sshpass"!
#!/bin/bash sshpass -p "password" scp -r /some/local/path user@example.com:/some/remote/path