I would like to put the password in on one line when running scp in my terminal
scp user1@xxx.xxx.x.5:sys_config /var/www/dev/
Thanks for your feed back got it to work I used the sshpass tool.
sshpass -p 'password' scp user1@xxx.xxx.x.5:sys_config /var/www/dev/
Using sshpass works best. To just include your password in scp use the ' ':
scp user1:'password'@xxx.xxx.x.5:sys_config /var/www/dev/