From owner-freebsd-bugs Fri Jun 1 14:20: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3996837B423 for ; Fri, 1 Jun 2001 14:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f51LK4B05603; Fri, 1 Jun 2001 14:20:04 -0700 (PDT) (envelope-from gnats) Date: Fri, 1 Jun 2001 14:20:04 -0700 (PDT) Message-Id: <200106012120.f51LK4B05603@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fenner Subject: Re: bin/27821: can't do RSA login via ssh to root account Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/27821; it has been noted by GNATS. From: Bill Fenner To: archie@packetdesign.com Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/27821: can't do RSA login via ssh to root account Date: Fri, 1 Jun 2001 14:14:32 -0700 I'm doing this with both RSA and DSA keys under stock FreeBSD 4.3 without a problem. The RSA public key is in /root/.ssh/authorized_keys, the DSA public key is in /root/.ssh/authorized_keys2, both my RSA and DSA keys are loaded in my ssh-agent, and root logins "just work". mango% uname -a FreeBSD mango.attlabs.att.com 4.3-RC FreeBSD 4.3-RC #1: Wed Apr 18 10:33:41 PDT 2001 root@mango.attlabs.att.com:/usr/obj/usr/src/sys/MANGO i386 mango% ssh -v -l root cubix01 SSH Version OpenSSH_2.3.0 green@FreeBSD.org 20010321, protocol versions 1.5/2.0. Compiled with SSL (0x0090600f). ... debug: Trying RSA authentication via agent with 'William C. Fenner' debug: Received RSA challenge from server. debug: Sending response to RSA challenge. debug: Remote: RSA authentication accepted. debug: RSA authentication accepted by server. ... Last login: Fri Jun 1 14:06:57 2001 from mango.attlabs.at Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-RELEASE (CUBIX) #1: Tue Apr 24 16:14:26 GMT 2001 This system is part of HA178's network lab. Please contact Bill Fenner if you have any questions. _ _ ___ _ ___ _ _| |__ (_)_ __/ _ \/ | / __| | | | '_ \| \ \/ / | | | | | (__| |_| | |_) | |> <| |_| | | \___|\__,_|_.__/|_/_/\_\\___/|_| cubix01# ... mango% ssh -v -2 -l root cubix01 SSH Version OpenSSH_2.3.0 green@FreeBSD.org 20010321, protocol versions 1.5/2.0. Compiled with SSL (0x0090600f). ... debug: authentications that can continue: publickey,password debug: next auth method to try is publickey debug: trying DSA agent key /home/fenner/.ssh/id_dsa-cubix debug: ssh-userauth2 successfull: method publickey ... Last login: Fri Jun 1 14:09:12 2001 from mango.attlabs.at Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-RELEASE (CUBIX) #1: Tue Apr 24 16:14:26 GMT 2001 This system is part of HA178's network lab. Please contact Bill Fenner if you have any questions. _ _ ___ _ ___ _ _| |__ (_)_ __/ _ \/ | / __| | | | '_ \| \ \/ / | | | | | (__| |_| | |_) | |> <| |_| | | \___|\__,_|_.__/|_/_/\_\\___/|_| cubix01# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message