[Bug 447] New: Invalid parsing for user at hostname in scp.c and ssh.c

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Nov 27 09:51:25 EST 2002


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

           Summary: Invalid parsing for user at hostname in scp.c and ssh.c
           Product: Portable OpenSSH
           Version: 3.5p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: stephane_bailliez at hotmail.com


I just changed my hosting provider that gives user at domain as ssh login to the 
domain.. so a scp command line gives:

scp file.tocopy user at domain@domain:

It fails to connect. I checked the source code and it uses strchr rather than 
strrchr to get the hostname and user.. thus it will end up with user 'user' 
and domain 'domain at domain'...which is unlikely to succeed.

This bug exists at least in scp.c and ssh.c

Workaround for ssh is to use ssh -l user at domain domain and for scp is to use 
another client. I use pscp on windows.



------- 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