[Bug 1359] keyboard repeats when somebody logins as root through ssh

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 11 22:54:54 EST 2007


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





--- Comment #2 from Pacho Ramos <pacho at condmat1.ciencias.uniovi.es>  2007-09-11 22:54:50 ---
(In reply to comment #1)
> What do you mean by "repeats"?  The same key appears multiple times
> when you press it once, or the keystrokes are echoed even when they
> should not be (eg while entering a password)?
> 

When anybody logins as root, keyboard starts to fail in X, sometimes,
if I press a key, it is repeated:
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllsssssssssssssssssssssssssssssss
...

until I switch to a console and come back to X. But, for example now,
when I was trying with openssh without pam, keyboard simply cannot
write anything but it works, because I can switch to a console and come
back to X also (Ctrl+Alt+F2 -> Ctrl+Alt+F7).



> Do you have PAM enabled and if so, what modules do you have in the sshd
> stack?  If you do have it enabled, do you see the same behaviour with
> "UsePAM no" in sshd_config.
> 

I get the same problem with and without pam enabled

> Can you reproduce the problem with a vanilla OpenSSH 4.7p1 from
> openssh.com without any Gentoo modifications?  (I have no idea what, if
> anything, Gentoo changes.)
> 

My gentoo build only has the following modified:

1. After unpacking sources it runs:
        sed -i \
                -e
'/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:/usr/bin/xauth:' \
                pathnames.h || die

        sed -i "s:-lcrypto:$(pkg-config --libs openssl):"
configure{,.ac} || die

2. Configure is run with the following options:

$ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-ldflags=
--disable-strip --sysconfdir=/etc/ssh --libexecdir=/usr/lib64/misc
--datadir=/usr/share/openssh --disable-suid-ssh
--with-privsep-path=/var/empty --with-privsep-user=sshd
--with-md5-passwords --without-ldap --without-libedit
--without-kerberos5 --with-tcp-wrappers --without-selinux
--without-skey --without-opensc --with-pam --libdir=/usr/lib64
--build=x86_64-pc-linux-gnu

3. After installing:

$ chmod 600 /etc/ssh/sshd_config

If you want, I can upload some config files...

Thanks a lot :-)


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list