From 318e15582f8aa685f9374c23a886a9a7141b9a34 Mon Sep 17 00:00:00 2001 From: Sam Foreman Date: Mon, 11 Nov 2024 19:00:54 -0600 Subject: [PATCH 1/2] Update scp.md --- .../moving_data_to_aurora/scp.md | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/aurora/data-management/moving_data_to_aurora/scp.md b/docs/aurora/data-management/moving_data_to_aurora/scp.md index 101319be4..1d75f46e6 100644 --- a/docs/aurora/data-management/moving_data_to_aurora/scp.md +++ b/docs/aurora/data-management/moving_data_to_aurora/scp.md @@ -54,12 +54,9 @@ 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 +$ cat .ssh/config +username@aurora-uan-0009:~> cat .ssh/config Host bastion.alcf.anl.gov User username @@ -70,11 +67,21 @@ Host polaris.alcf.anl.gov ``` ```bash -src="/eagle///test.txt" -dst="$(pwd)" -scp "${src}" "${dst}" +username@aurora-uan-0009:~> scp username@polaris.alcf.anl.gov:/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] [^examples]: Examples copied from: [scp](https://tldr.inbrowser.app/pages/common/scp) From 70545b8ccc9bd6a69b09f90171270a21008ec6ca Mon Sep 17 00:00:00 2001 From: Sam Foreman Date: Mon, 11 Nov 2024 19:04:53 -0600 Subject: [PATCH 2/2] Update scp.md --- docs/aurora/data-management/moving_data_to_aurora/scp.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/aurora/data-management/moving_data_to_aurora/scp.md b/docs/aurora/data-management/moving_data_to_aurora/scp.md index 1d75f46e6..7f6187862 100644 --- a/docs/aurora/data-management/moving_data_to_aurora/scp.md +++ b/docs/aurora/data-management/moving_data_to_aurora/scp.md @@ -55,7 +55,6 @@ passcode twice will be needed (once for bastion and once for the other resource). ```bash -$ cat .ssh/config username@aurora-uan-0009:~> cat .ssh/config Host bastion.alcf.anl.gov User username @@ -80,8 +79,6 @@ username@aurora-uan-0009:~> cat test.txt from_polaris eagle ``` - - ## `#!bash scp`: Examples[^examples] [^examples]: Examples copied from: [scp](https://tldr.inbrowser.app/pages/common/scp)