how to transfer a file from local to ssh 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