Answers for "move file from local to server ssh"

6

centos copy files ssh

scp <source> <destination>

#To copy a file from B to A while logged into B:
scp /path/to/file username@a:/path/to/destination

#To copy a file from B to A while logged into A:
scp username@b:/path/to/file /path/to/destination
Posted by: Guest on May-25-2020
0

move files from local to remote ssh

#Subir un archivo al server
scp archivo.txt [email protected]:/home/usuario
#Subir un directorio al server
scp -r /home/mario/carpeta [email protected]:/home/usuario
#----------------------
#Bajar un archivo del server
scp [email protected]:/home/usuario archivo.txt 
#Bajar un directorio del server
scp -r [email protected]:/home/usuario /home/mario/carpeta
Posted by: Guest on November-28-2021

Code answers related to "move file from local to server ssh"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language