Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SCP is a method of securely transferring files between a local host and a remote host or between two remote hosts.

  • Example: Copying a file from a local machine to a remote server.

  1. Format: [username@]<computer>:<path>

    • Username: If not specified, your local username is used.

    • Computer: Can be a hostname (e.g., computer.cornell.edu) or an IP address.

    • Colon (:): Indicates a remote location.

    • Path: If not specified, the remote user’s home directory is used.

...