how to transfer files from ssh remote to ssh client machine code example
Example 1: ssh transfer file from local to remote
scp file.txt [email protected]:/remote/directory
Example 2: ssh usage copy file
cp original_file new_file
scp file.txt [email protected]:/remote/directory
cp original_file new_file