Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 16:33:44 +0200
From:      Udo Schweigert <ust@cert.siemens.de>
To:        freebsd-current@FreeBSD.ORG
Subject:   ssh and scp fail connecting to a root account
Message-ID:  <20000915163344.A79462@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help
Hello all,

after a fresh build of -current openssh does not work if connecting to the
root-user. For example (tested from a -stable machine, but the same from
4.1-RELEASE):

-------------------------------------------------------------------------------
$ ssh <host> -l root
Last login: Fri Sep 15 16:22:48 2000 from xxxx
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
FreeBSD 5.0-CURRENT (yyyy) #21: Fri Sep 15 11:59:41 CEST 2000

Welcome to FreeBSD!

sshd in realloc(): error: junk pointer, too high to make sense.
Connection to zzzz closed.
-------------------------------------------------------------------------------

(This implies that "PermitRootLogin" is set to yes in /etc/ssh/sshd_config)

The only soultion is to have "UseLogin" set to yes. But nevertheless scp
does never work if copying to the root account like this:

-------------------------------------------------------------------------------
$ scp <file> root@<host>:.
select: Bad file descriptor
lost connection
-------------------------------------------------------------------------------

The strange: both commands succeed if connecting to a non-root account.

Are there any others with these problems? Any clues?

Best regards.
-- 
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
ZT IK 3, Siemens CERT        | Fax        : +49 89 636 41166
D-81730 Muenchen / Germany   | email      : ust@cert.siemens.de
PGP-2/5 fingerprint          | D8 A5 DF 34 EC 87 E8 C6  E2 26 C4 D0 EE 80 36 B2


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915163344.A79462>