scp file into server code example
Example 1: scp send file
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 2: scp file
scp [source file] [destination]
scp file.txt user@ip:/Desktop/
For directories, add the -r tag
scp -r [source dir] [destination]
scp -r dir/ user@ip:/Desktop/