Bug ID: 2838
           Summary: Question about expanding wildcard on linux
           Product: Portable OpenSSH
           Version: 7.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: scp

Since "Posting by non-members to is
currently disabled." I post the question here. 
When run "scp .\tmp* sharefs:~" on Linux ubuntu 4.13.0-21-generic, the
wildcard * is expanded, but look into source code scp.c, the expanding
is not happening in scp.c. Where is the wildcard expanded?
Look into the sftp.c code, it calls glob to expands the wildcard.
Why scp can achieve the expanding without calling glob?

You are receiving this mail because:
You are watching the assignee of the bug.
openssh-bugs mailing list

Reply via email to