I updated openssh to 3.8.1_p1-r1 on all machines, and I can no longer ssh as user, it says: hackeron@laptop hackeron $ ssh 192.168.0.1 ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory Permission denied, please try again. ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory Permission denied, please try again. ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory Permission denied (publickey,password,keyboard-interactive). my emerge info is: hackeron@laptop hackeron $ sudo emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-ck5) ================================================================= System uname: 2.6.7-ck5 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -mmmx -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -mmmx -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest distcc sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apm audiofile avi cap cdr crypt cups dvd emacs encode ethereal faad flac foomaticdb gif gphoto2 gpm gstreamer gtk2 imap imlib imlib2 jpeg kde libg++ libwww mbox mmx mozilla mysql ncurses oggvorbis pam pcmcia pdflib php pic png pnp python qt quicktime readline speex spell ssl tcpd tiff truetype trusted usb wifi x86 xine xv xvid zlib" Reproducible: Always Steps to Reproduce: 1. Update to stable openssh-3.8.1_p1-r1 2. ssh to a machine on network as user 3. Actual Results:
Try to restart sshd on the box you're trying to connect to. From what version did you upgrade?
The previous version, it was some time ago, but I thought it was a fluke, then it happened on *all* machines on network, no matter from/where I connect to. Restarting obviously has no effect, and I can ssh only as root. This works: sudo ssh hackeron@laptop (sudo runs a command as root) This doent: ssh hackeron@laptop
Here is a thread related to this subject: http://archive.netbsd.se/show-thread.php?thread=228395
As noted in http://forums.gentoo.org/viewtopic.php?t=102463&start=0&postdays=0&postorder=asc&highlight= your /dev/tty might have the wrong permissions, please post the output of "ls -l /dev/tty"
hackeron-server root # ls -l /dev/tty crw-rw---- 1 root root 5, 0 Aug 11 19:23 /dev/tty
There's your problem, do a chmod 0666 /dev/tty to fix the problem.
Seems this is a udev bug then.. Udev should be changed to set the correct permissions. So this bug is not fixed, just a temporary solution given, which is fine. So changing to minor, but permissions should be fixed for udev.
reassigning..
Permissions have been fixed on udev for a while now, please make sure you have the latest release.