How to Pass Password to SCP Command in Linux using SSHPass
SCP stands for secure copy and is used to securely copy files or directories from one Linux environment to another.
Using the SCP command you can copy files or directories from a remote environment to a local environment, from a local environment to a remote environment, or between two remote environments in your local environment.
There are a number of benefits to using the SCP command to copy files i.e. you can limit the bandwidth which the channel can occupy using the -l tag.
SCP command supports password encryption to protect the data from leaking or files being snooped during transfer. Password encryption is what makes SCP secure.
https://bytexd.com/how-to-pass-password-to-scp-command-in-linux-using-sshpass/