Is there any way to copy a file from a local folder to the remote one through the terminal? Something like ssh
?
Is there any way to copy a file from a local folder to the remote one through the terminal? Something like ssh
?
Yes, using scp
. For your documentation, do the command on the terminal man scp
and see more at: link
In addition to scp
, rsync
is an excellent option if the server has SSH service running and rsync
as well. It works not only for individual files.
$ rsync /pathlocal/arquivolocal usuario@servidor:/pathremoto/arquivoremoto
A third alternative would be to mount the remote address mapping to a local directory.