Versions Compared

Key

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

...

  1. Code Block
    languagebash
    titleNavigate to the directory that has the file you want to copy.
    cd Downloads
  2. The scp command will have the following parts: scp <filename> <USERNAME>@<Remote_computer_address>:<location_you_want_the_file_copied_to_starting_with_a_/_mark>

    Code Block
    languagebash
    titleuse the scp command to transfer the remote file to to your local computer
    scp README <USERNAME>@ls5.tacc.utexas.edu:<pwd_you_copied_in_the_right_window> . 

    *note the required punctuation:

    1. @ symbol following your username (same as is done in the ssh command)
    2. : following the remote computer address. Missing this mark is the 2nd most common mistake people make
    3. immediately after the : mark. Missing this mark is the most common mistake people make.
    Info
    titleExplaining why this is the only actual required command

    As above, if you know the path to the directory you want to copy your file to, you do not need the Right window with the remote connection. Unfortunately, just as the remote computer doesn't know anything about your local computer, your local computer doesn't know anything about the nice shortcuts that exist on TACC such as the $SCRATCH variable. This means that in order to do this with a single window you would need to know what $SCRATCH is from memory.

    Even assuming you did know the path to the directory you want, it has been extremely rare in my experience that transferring a file to TACC is the last step. Almost always it is actually the first step where once the file is transferred you immediately begin working on it there.

  3. Upon hitting enter you should be prompted for your tacc password, and 1 time code.

  4. Switch back to the other window and use the ls command to see the file.

...