Using scp and interactively entering a password, the process of copying files is sent to the console, but when using sshpass , the console does not have a script for scp files.
$ sshpass -p [password] scp [file] root@ [ip]:/[dir]
Sshpass seems to suppress or hide scp console output. Is there any way to enable scp sshpass output to the console?
source share