scp using nohup

I want to run scp in nohup but problem is how to enter passoword while running it.

I tried below but it failed.

nohup scp file  user/pass@host:/dir &

is there any way out in nohup to prompt for the password on command prompt?

Hi,

Check

man sshpass
nohup sshpass -p 'password' scp file  user/pass@host:/dir