bugzilla-daemon at mindrot.org
2003-Feb-01 01:02 UTC
[Bug 483] New: scp issues "invalid user name" for a user name containing a blank
http://bugzilla.mindrot.org/show_bug.cgi?id=483 Summary: scp issues "invalid user name" for a user name containing a blank Product: Portable OpenSSH Version: 3.5p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: scp AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: lazanoff at nas.nasa.gov scp file "FirstName LastName"@domain.com: produces "invalid user name" but ssh "FirstName LastName"@domain.com works. I've seen this error with openssh 3.5p1, with Irix scp v3.4 and on Solaris scp v3.0.2p1. The presence of a space is sufficient to produce the "invalid user name" diagnostic. Sorry but PC users often have user names of this form and probably a few Mac users, too. scp.c contains function okname that issues the "invalid user name" but since it really doesn't check with the remote host, scp doesn't really know whether the name is OK anyway. Unless there's some other reason for doing this check, I recommend just doing away with this function. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- Authenticate users using their firstname
- Authenticate users using their firstname
- Authenticate users using their firstname
- Authenticate users using their firstname
- [Bug 88] New: scp for OpenSSH v3.0.2p1 fails to commercial SSH v3.1.0 server (new -t option to SSH's scp)