[Bug 472] New: scp won't accept 'hash' character in usernames, ssh will

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jan 23 17:14:22 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=472

           Summary: scp won't accept 'hash' character in usernames, ssh will
           Product: Portable OpenSSH
           Version: 3.5p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scp
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: chuzwuzza at optusnet.com.au


I have a web server with which the only method of uploading my files to is scp.
It uses a system called Ensim, which creates virtual unix accounts (or
somethign) so my username which I ssh and scp with ends up being
username#domainname.com
ssh lets me log in fine with this name, and other windows scp clients let me use
it as well. The unix scp openssh client unfortunately does not.

I would attach a (one-liner) patch I have to fix this, but I can't see anywhere
to attach it...
Anyway, it just involves changing the if statement on line 1016 of scp.c to add 
&& c != '#'
to it.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-unix-dev mailing list