https://bugzilla.mindrot.org/show_bug.cgi?id=3065
Bug ID: 3065
Summary: scp -A host1:file host2:
Product: Portable OpenSSH
Version: 8.0p1
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: scp
Assignee: [email protected]
Reporter: [email protected]
Created attachment 3319
--> https://bugzilla.mindrot.org/attachment.cgi?id=3319&action=edit
ssh_scpA.diff
scp's ability to copy between two remote hosts has always seemed of
very limited use to me, since the first remote host must be able to
establish an ssh connection to the second host. This is really a case
where agent forwarding comes in handy. Currently you can already do
scp -oForwardAgent=yes host1:foo host2:
and the attached patch adds the -A flag as a shortcut:
scp -A host1:foo host2:
Note that this will forward the agent connection to host1 only.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs