Scp via jump server
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