move file to another server using scp
Moves
sql.zip
file to the location
/var/www/
of
use.ge
server using
root
user
scp sql.zip root@use.ge:/var/www/
We can use full path for the file that we want to move
scp /var/www/sql.zip root@use.ge:/var/www/
We can also use an IP address (instead of domain name) to specify the server that we want the file to move to
scp /var/www/sql.zip root@167.172.187.21:/var/www/
After the command execution the user is required to enter password of
root
user
by Valeri Tandilashvili
4 years ago
Linux
0
Pro tip: use ```triple backticks around text``` to write in code fences