sshpass -p 'password' scp /home/dosya-adı.tgz root@ip-adresi:/home/

böyle bi deneyin.

http://serverfault.com/questions/318...in-bash-script