[Bug 2020] New: Remote-to-remote copying doesn't work when second host not on port 22

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Jun 21 17:46:14 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=2020

             Bug #: 2020
           Summary: Remote-to-remote copying doesn't work when second host
                    not on port 22
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 6.0p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scp
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: daniel.kullmann at gmx.de


It is not possible to specify a different port for the second remote
host in a scp command line, e.g.

scp -P 3434 host1:file -P 8765 host2:file

is not possible, because the second -P is in an illegal position.

This would not be bad if the port could be specified in another way,
but scp does not use the Port setting in .ssh/config for the second
host. It does use the setting for the first host, though.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list