[Bug 2243] scp ignoring ~/.ssh/config when both source and destination are remote hosts
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jan 5 22:17:33 AEDT 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=2243
engrenage <bugzilla.mindrot at engrenage.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Severity|normal |enhancement
OS|Linux |All
Hardware|amd64 |All
Status|NEW |RESOLVED
CC| |bugzilla.mindrot at engrenage.
| |ch
--- Comment #2 from engrenage <bugzilla.mindrot at engrenage.ch> ---
$ scp user1 at host1:source user2 at host2:dest
When copying between two remote hosts, the host1 is _instructed_ to
copy files over to the second host using host1:~user1/.ssh/config and
the keys in the same directory. Local config is used to connect to
host1 in the first place, _not_ after.
Using -3 flag works fine with local config used for both hosts.
I would close this as INABIAF.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list