| Summary: | keyboard repeats when somebody logins as root through ssh | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Pacho Ramos <pacho> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | normal | CC: | dtucker |
| Priority: | P2 | ||
| Version: | 4.7p1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Pacho Ramos
2007-09-11 06:51:48 AEST
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)? 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. 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.) (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 :-) I attach a small video showing the problem, keyboard stops when I go to console 1 and come back to X: http://files.myopera.com/pacho/files/out.ogg Sorry, this is caused by this: http://bugs.gentoo.org/show_bug.cgi?id=192442#c11 Close resolved bugs after release. |