Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58995 - after upgrade to openssh-3.8.1_p1-r1, can no longer ssh as user!
Summary: after upgrade to openssh-3.8.1_p1-r1, can no longer ssh as user!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-31 07:33 UTC by Roman Gaufman
Modified: 2004-08-27 23:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gaufman 2004-07-31 07:33:25 UTC
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:
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-02 11:08:04 UTC
Try to restart sshd on the box you're trying to connect to.   From what version did you upgrade?
Comment 2 Roman Gaufman 2004-08-02 11:29:08 UTC
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
Comment 3 Simon Reynolds 2004-08-08 18:16:48 UTC
Here is a thread related to this subject:

http://archive.netbsd.se/show-thread.php?thread=228395
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-14 12:32:01 UTC
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"
Comment 5 Roman Gaufman 2004-08-14 15:02:04 UTC
hackeron-server root # ls -l /dev/tty
crw-rw----  1 root root 5, 0 Aug 11 19:23 /dev/tty
Comment 6 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-15 03:02:14 UTC
There's your problem, do a chmod 0666 /dev/tty to fix the problem.
Comment 7 Roman Gaufman 2004-08-15 03:42:23 UTC
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.
Comment 8 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-18 13:21:54 UTC
reassigning..
Comment 9 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-08-27 23:09:58 UTC
Permissions have been fixed on udev for a while now, please make sure you 
have the latest release.