Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
scp file over multiple hops

local copy remote file over hops with command scp

server A: (hops over)
server B: (remote file is here)

scp -oProxyJump=<user>@serverA <user>@<serverB>:<PATHtoFile> Downloads/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment