Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    SSH: transfer files from/to host to/from local system


    How can I transfer files from/to a host computer connected using ssh? Thank you.
    Linux user 439038 | Ubuntu user 20892

  2. #2
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    The command you are looking for is scp. It functions much like ssh and cp.

  3. #3
    Thank you. Here's how I've done it.

    % scp user@host:/home/user/file ./download

    to download, and to upload

    % scp ./upload/file user@host:/home/user/upload
    Linux user 439038 | Ubuntu user 20892

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    Sep 2007
    Lafayette, IN
    For a more interactive experience, you can use the sftp command (it is a subsystem of SSH). To reduce bandwidth and only copy files that have changed, see the rsync command.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts