copy from local to server scp code example
Example 1: scp folder from server to local
scp -r [email protected]:/path/to/foo /home/user/Desktop/
Example 2: scp server to local
scp [email protected]:/remote/file.txt /local/directory
Example 3: how to scp from server to local
scp [email protected]:/root/Jmeter/reports.jtl Downloads/