[Bug 3065] New: scp -A host1:file host2:

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Sep 5 06:39:31 AEST 2019


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: unassigned-bugs at mindrot.org
          Reporter: naddy at mips.inka.de

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.


More information about the openssh-bugs mailing list