Skip to content

Commit

Permalink
Merge pull request #548 from argonne-lcf/saforem2-patch-1
Browse files Browse the repository at this point in the history
Update scp.md
  • Loading branch information
felker authored Nov 12, 2024
2 parents ce2d394 + 70545b8 commit 8e75ffd
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docs/aurora/data-management/moving_data_to_aurora/scp.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@ With the use of `ProxyJump` below, entering the MobilePass+ or Cryptocard
passcode twice will be needed (once for bastion and once for the other
resource).
A simple example shows the `#!bash .ssh/config` entries for Polaris and the
`#!bash scp` command for transferring from Polaris:
```bash
# on Polaris
$ cat ~/.ssh/config
username@aurora-uan-0009:~> cat .ssh/config
Host bastion.alcf.anl.gov
User username
Expand All @@ -70,9 +66,17 @@ Host polaris.alcf.anl.gov
```
```bash
src="/eagle/<project>/<username>/test.txt"
dst="$(pwd)"
scp "${src}" "${dst}"
username@aurora-uan-0009:~> scp [email protected]:/eagle/catalyst/proj-shared/username/test.txt ./
---------------------------------------------------------------------------
Notice to Users
...
[Password:
---------------------------------------------------------------------------
Notice to Users
...
[Password:
username@aurora-uan-0009:~> cat test.txt
from_polaris eagle
```
## `#!bash scp`: Examples[^examples]
Expand Down

0 comments on commit 8e75ffd

Please sign in to comment.