Command ssh:copy

Copy files to or from a remote host

Arguments

  • from: Path to file(s) at the source
  • to: Path at the destination

Options

  • --recursion: Recursively copy entire directories.
  • --port: Port number
  • --username: Login as username
  • --keyfile: Path to private key file
  • --password: Force password based authentication
  • --timeout: Connect timeout in seconds
  • --proxy: Command to use to connect to the server via a proxy. See ProxyCommand in the Manual page ssh_config(5).
Back to command index