[Bug 2884] New: scp doesn't read ~/.ssh/config for second argument

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jul 20 02:23:37 AEST 2018


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.


More information about the openssh-bugs mailing list