Re: OpenSSH: spaces in user name



In comp.security.ssh Chuck <skilover_nospam@xxxxxxxxxxxxxx>:
Darren Tucker wrote:
On 2006-03-14, Chuck <skilover_nospam@xxxxxxxxxxxxxx> wrote:
I thought I remembered reading somewhere that one of the recent patches
to OpenSSH disabled the ability to connect with a user name that
contains spaces. Am I remembering correctly?

Not exactly. The problem was spaces in usernames passed to scp:
http://bugzilla.mindrot.org/show_bug.cgi?id=1164

'ssh "foo bar@somehost"' still works, and in the next version the User
directive in the config file (and any other directive for that matter)
can also have spaces if it's surrounded by double-quotes:
http://bugzilla.mindrot.org/show_bug.cgi?id=482

Also does it affect users authenticated with a public key?

Yes. Username handling in the client is is independant of the auth type.


Is the problem in the client or server? If it's in the client I have
nothing to worry about. I'm using Putty for tunnels, and winscp3 for
sftp. I don't use scp at all. Not with the username that includes spaces
anyway.

Shrug, spaces in username are one of the worst things I could
think of for a username, could well be a M$ "invention"?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 351: PEBKAC (Problem Exists Between Keyboard
And Chair)
.



Relevant Pages

  • Re: username with @ embedded
    ... >I am having trouble using scp between two machines where one machine ... >username. ... I suggest you edit the scp source code. ... This solution doesn't work for the host using the realms though, ...
    (comp.security.unix)
  • Re: OpenSSH: spaces in user name
    ... to OpenSSH disabled the ability to connect with a user name that ... Username handling in the client is is independant of the auth type. ... I don't use scp at all. ...
    (comp.security.ssh)
  • username with @ embedded
    ... I am having trouble using scp between two machines where one machine ... username. ... So when I try a command like: ...
    (comp.security.unix)
  • Re: Scp with # in username
    ... > i'm trying to scp files between localhost and another server. ... my username on that server is in the form of xxx#xxx.com. ...
    (comp.security.ssh)
  • Re: username with @ embedded
    ... >I am having trouble using scp between two machines where one machine ... how does that user manage to do anything sane? ... maybe using the config file to set the username would work, e.g., ...
    (comp.security.unix)

Loading