Technical
Redirect Scp Output

How To redirect output to a file

I had to be able to read output to the file to get the status, or some sort of notification that it was executed.


scp -qBv /tmp/test.txt login@host:/tmp > scp.stdout 2>SCP.log

This command will forward debugging output to SCP.log file in the same directory