CH

September 3, 2014

scp with agent forwarding

Filed under: Uncategorized — @ 12:00 a.m.
scp with agent forwarding

Say that you want to scp files from box a to box b without either knowing anything about the other. You want to pass ssh options along from scp like so:

scp -o "ForwardAgent yes" user@box1:/path/to/file user@box2:/path/to/dest

---