bugzilla-daemon at bugzilla.mindrot.org
2018-Jul-19 16:23 UTC
[Bug 2884] New: scp doesn't read ~/.ssh/config for second argument
https://bugzilla.mindrot.org/show_bug.cgi?id=2884 Bug ID: 2884 Summary: scp doesn't read ~/.ssh/config for second argument Product: Portable OpenSSH Version: 7.2p2 Hardware: Other OS: Linux Status: NEW Severity: normal Priority: P5 Component: scp Assignee: unassigned-bugs at mindrot.org Reporter: axd4ho at sambull.org When I run 'scp -v A B', it seems that my user config is not read for B. Looking closer at the output, it looks like the config is read to open a connection to A, and the the ssh connection to B is made from within the connection to A. So, I'm assuming that means it is only reading the config files that are installed with the host A. But, I was initially expecting it to be run from my local machine, and therefore get the config from there. If this is the desired default behaviour, it would be nice to have an option that reads the ssh configs on the local machine for B and then passes any configuration options through to A. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Jul-19 16:24 UTC
[Bug 2884] scp doesn't read ~/.ssh/config for second argument
https://bugzilla.mindrot.org/show_bug.cgi?id=2884 Sam Bull <axd4ho at sambull.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Jul-19 23:14 UTC
[Bug 2884] scp doesn't read ~/.ssh/config for second argument
https://bugzilla.mindrot.org/show_bug.cgi?id=2884 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at dtucker.net --- Comment #1 from Darren Tucker <dtucker at dtucker.net> --- In your example both A and B are host:/path ie a remote to remote copy? If you want both connections to be made from A there's the three-way option to scp: -3 Copies between two remote hosts are transferred through the local host. Without this option the data is copied directly between the two remote hosts. Note that this option disables the progress meter. although that also has different behaviour in that the bytes will pass through the originating host instead of directly from A to B. -- 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
2018-Jul-20 15:24 UTC
[Bug 2884] scp doesn't read ~/.ssh/config for second argument
https://bugzilla.mindrot.org/show_bug.cgi?id=2884 Sam Bull <axd4ho at sambull.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #2 from Sam Bull <axd4ho at sambull.org> --- Ah, didn't see that option. Suppose that's a good enough solution, as it also ensures no sensitive data from the config leaves the local machine (e.g. my problem was that I needed the ProxyCommand containing a port knocking sequence). -- 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 mindrot.org
2021-Apr-23 04:56 UTC
[Bug 2884] scp doesn't read ~/.ssh/config for second argument
https://bugzilla.mindrot.org/show_bug.cgi?id=2884 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.