Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78073 - openssh-3.9_p1-r1 login problem
Summary: openssh-3.9_p1-r1 login problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 All
: High major (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL: http://bugzilla.mindrot.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 04:28 UTC by Simon Stelling (RETIRED)
Modified: 2005-02-04 15:41 UTC (History)
4 users (show)

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 Simon Stelling (RETIRED) gentoo-dev 2005-01-15 04:28:43 UTC
sshd doesn't like this key:

cat ~hansmi/.ssh/authorized_keys2
ssh-dss AAAB3NzaC1kc3MAAACBANuRyCB3NI4DEg5s9zWQID2N1zMUl/jKu8mjhhg03VbPUbIqhSy+5Eh0Bm/ccTdChBRvq6Y4pedFfkVhf5v2sAvhQfDB+q19kF2TLPUVvuKwClkr3Wk7+sSfhqlvxyEK04cwHkbM7fCopXFDhLcqaJuDsrVRM0FVfEFndsFtgPjPAAAAFQDUzCfxQxcZcPPQi6EGLNBhcSkewwAAAIEAhFtWzhgwHon0Ux8YhSdRy9mEDCT19Og6Eu/LkfqZEmhB38dJLzwDunNGRcAGMVvtm4280o8/bpqzCgJHh6/lq+pyBaP8gEdeFJRdZhuGcRc6ViW+hSxOc6fR/xNL+SSMxtDdSg925g6k79AyXGBnDA7r/REVpM3lLygDCEQhfqoAAACBAM0ZkrvhM6vq5lxXe9MrJA2bsM2laIBy michael@koala.lan

when trying to login, the user gets this:

$ ssh -l hansmi host -p 2222
Connection closed by 217.148.7.65

/var/log/auth.log says:

Jan 15 12:59:33 aqua sshd[23772]: fatal: buffer_get: trying to get more bytes 129 than in buffer 24

password authentication works

# emerge info
Portage 2.0.51-r12 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r10 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.4,dev-lang/python-2.3.4 [2.4 (#1, Jan 10 2005, 22:42:13)]
ccache version 2.3 [enabled]
dev-lang/python:     2.4, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.4_p6, 1.9.4, 1.8.5-r2, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks sandbox userpriv"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/blubb/gentoo/gentoo-x86 /usr/local/portage"
SYNC="rsync://buggy/gentoo-portage"
USE="amd64 X aalib acpi alsa bitmap-fonts bonobo bzlib cdr chroot crypt cups divx4linux dvd emul-linux-x86 encode esd f77 fam flac font-server ftp gdbm gif gimp glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib java jp2 jpeg libwww lzw lzw-tiff mad mikmod mng motif mozdomi mozilla moznoirc moznomail moznoxft mozp3p mozsvg mp3 mpeg msn multilib mysql ncurses network nls nptl oggvorbis opengl pam perl png posix python readline samba sdl sematicfix speex sqlite ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb userlocales utf8 xinerama xml xml2 xmms xpm xrandr xsl xv zlib"
Unset:  LDFLAGS

can anybody confirm this on a non-amd64-box?
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-01-15 08:56:43 UTC
Confirmed on alpha.
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-01-15 09:23:17 UTC
Unconfirming on alpha, it was another problem (linebreaks in the key).
Comment 3 SpanKY gentoo-dev 2005-01-15 13:05:20 UTC
does your key have line breaks too ?
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-02-04 15:41:16 UTC
the key was truncated.

@hansmi: generate a new one, your recent sucks :P