Skip to content

Instantly share code, notes, and snippets.

@GusGA
Created July 6, 2013 04:46
Show Gist options
  • Save GusGA/5938669 to your computer and use it in GitHub Desktop.
Save GusGA/5938669 to your computer and use it in GitHub Desktop.
Copiar Archivos via ssh entre equipos

You can do this with the scp command, which uses the ssh protocol to copy files across machines. It extends the syntax of cp to allow references to other systems:

scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file

Copy something from this machine to some other machine:

scp /path/to/local/file username@hostname:/path/to/remote/file

Copy something from another machine to this machine:

scp username@hostname:/path/to/remote/file /path/to/local/file

Fuente link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment