Username has a slash at the end

Nico Kadel-Garcia nkadel at gmail.com
Tue Oct 28 13:54:07 EST 2014


On Mon, Oct 27, 2014 at 6:02 PM, G. G. <gwartney at gmail.com> wrote:
> One of my unfortunate users decided to put a slash at the end of his
> username "username/". Is there any way to use ssh to specify that the slash
> is part of the username? I've tried every combination of escape characters
> that I can think of but sshd always removes the slash.

On which operating system was this allowed????

> Examples:
> ssh -l "username/" <ip address>
> ssh "username/"@<ip address>
> ssh 'username/'@<ip address>
> ssh username\/@<ip address>
> ssh -o User="username/" <ip address>
>
> I've tried many more combinations, but have not had any luck. The sshd
> version is 1:5.1p1-5 and upgrading is not an option.

Change the username is probalby your fastest solution. The normal
"useradd' commands should have blocked this.

> No other remote access is allowed except for this one user, so will have to
> make a field visit if I can't get it working. Thank you for your time!
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


More information about the openssh-unix-dev mailing list