Scp via jump server

From HELIOS Digital DAQ
Revision as of 18:40, December 24, 2023 by Ttang (talk | contribs) (Created page with "The situation is, I want to download some files from digios1 (inside onenet) to my home, which is outside of the ANL network. digios1 --> jump server --> Home In Mac: scp -oProxyCommand="ssh -W %h:%p <USERNAME>@login.phy.anl.gov" helios@digios1:/PATH/TO/FILES HOME/PATH When scp support -J option scp -J <USERNAME>@login.phy.anl.gov helios@digios1:/PATH/TO/FILES HOME/PATH")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The situation is, I want to download some files from digios1 (inside onenet) to my home, which is outside of the ANL network.

digios1 --> jump server --> Home

In Mac:

scp -oProxyCommand="ssh -W %h:%p <USERNAME>@login.phy.anl.gov" helios@digios1:/PATH/TO/FILES HOME/PATH

When scp support -J option

scp -J <USERNAME>@login.phy.anl.gov helios@digios1:/PATH/TO/FILES HOME/PATH