[Bug 1828] New: ssh-copy-id fails when there is a whitespace in the identity file

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Oct 14 03:09:29 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1828

           Summary: ssh-copy-id fails when there is a whitespace in the
                    identity file
           Product: Portable OpenSSH
           Version: 5.6p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Miscellaneous
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: gwenael.lambrouin at gmail.com


Created attachment 1935
  --> https://bugzilla.mindrot.org/attachment.cgi?id=1935
patchfile which fixes ssh-copy-id problem with identity files
containing whitespaces

Under Cygwin, my home directory is "/cygdrive/c/Documents and
Settings/me". When I type:

ssh-copy-id -i ~/.ssh/id_dsa.pub somehost

I get:

cat: /cygdrive/c/Documents: Is a directory
cat: and: No such file or directory
cat: Settings/me/.ssh/id_dsa.pub: No such file or directory
/usr/bin/ssh-copy-id: ERROR: No identities found

Attached is a patch which fixes this issue.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list