scp without typing password (pscp)

Use the tool ‘pscp’. Example:

pscp -scp -pw myPass myFile.pdf root@127.0.0.1:/my/path

The -scp switch indicates that you want to use the scp protocol. -pw indicates password to use.