Skip to content

Instantly share code, notes, and snippets.

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

local copy remote file over hops with command scp

server A: 192.168.1.10 (hops over)
server B: 192.168.1.11 (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