bugzilla-daemon at bugzilla.mindrot.org
2012-Jun-21 07:46 UTC
[Bug 2020] New: Remote-to-remote copying doesn't work when second host not on port 22
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.
bugzilla-daemon at bugzilla.mindrot.org
2012-Jun-21 09:44 UTC
[Bug 2020] Remote-to-remote copying doesn't work when second host not on port 22
https://bugzilla.mindrot.org/show_bug.cgi?id=2020
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2012-06-21
19:44:01 EST ---
Actually it *is* looked up in ~/.ssh/config, but on the remote host.
By default, scp remote1:foo remote2:bar actually runs "ssh remote1 scp
foo remote2:bar" (this is behaviour inherited from rcp).
You need to either put the port number in the config file on the remote
host, or use scp's "-3" option to do a 3-way copy which will use
the
local config file.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-Jun-21 13:58 UTC
[Bug 2020] Remote-to-remote copying doesn't work when second host not on port 22
https://bugzilla.mindrot.org/show_bug.cgi?id=2020
Daniel Kullmann <daniel.kullmann at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Daniel Kullmann <daniel.kullmann at gmx.de> 2012-06-21
23:58:30 EST ---
OK, thanks for clearing that up.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Possibly Parallel Threads
- file descriptor in bad state
- [Bug 2984] New: scp -3 authentication fails when providing key passphrases for two remote hosts
- [Bug 557] scp over ssh-relay insists in asking passphrase
- Is that iozone result normal?
- [Bug 2210] New: scp -q isn't quiet when copying between two remote hosts