From owner-freebsd-current Fri Sep 15 7:33:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from goliath.siemens.de (goliath2.siemens.de [192.35.17.28]) by hub.freebsd.org (Postfix) with ESMTP id AA9A937B424 for ; Fri, 15 Sep 2000 07:33:50 -0700 (PDT) X-Envelope-Sender-Is: ust@cert.siemens.de (at relayer goliath.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.10.1/8.10.1) with ESMTP id e8FEXj312709 for ; Fri, 15 Sep 2000 16:33:49 +0200 (MET DST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e8FEXi522819 for ; Fri, 15 Sep 2000 16:33:44 +0200 (MET DST) Received: from alaska.cert.siemens.de (reims.mchp.siemens.de [139.23.202.134]) by mars.cert.siemens.de (8.11.0/8.11.0/Siemens CERT [ $Revision: 1.8 ]) with ESMTP id e8FEXim88890 for ; Fri, 15 Sep 2000 16:33:44 +0200 (CEST) Received: (from ust@localhost) by alaska.cert.siemens.de (8.11.0/8.11.0/alaska [ $Revision: 1.4 ]) id e8FEXi479571 for freebsd-current@FreeBSD.ORG; Fri, 15 Sep 2000 14:33:44 GMT (envelope-from ust) Date: Fri, 15 Sep 2000 16:33:44 +0200 From: Udo Schweigert To: freebsd-current@FreeBSD.ORG Subject: ssh and scp fail connecting to a root account Message-ID: <20000915163344.A79462@alaska.cert.siemens.de> Mail-Followup-To: freebsd-current@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -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 root@:. 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