From owner-freebsd-questions Sun Jun 6 15:25: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta2-rme.xtra.co.nz (unknown [203.96.92.3]) by hub.freebsd.org (Postfix) with ESMTP id A138D150BA for ; Sun, 6 Jun 1999 15:25:02 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.152.36]) by mta2-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990606222718.COEX8785947.mta2-rme@wocker>; Mon, 7 Jun 1999 10:27:18 +1200 From: "Dan Langille" Organization: The FreeBSD Diary To: Brian McGroarty Date: Mon, 7 Jun 1999 10:24:31 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Installing & Using SSH Reply-To: junkmale@xtra.co.nz Cc: freebsd-questions@freebsd.org In-reply-to: <375AED49.16BD4CD7@pobox.com> X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990606222718.COEX8785947.mta2-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Was sshd running on the machine you were trying to connect to? I'm guessing after looking at my notes at: http://www.freebsddiary.org/freebsd/ssh.htm FWIW: I never touched sshd_config as I'm using tcp_wrappers. For that, I used /usr/local/etc/hosts.allow cheers On 6 Jun 99, at 16:51, Brian McGroarty wrote: > I feel like I'm missing something obvious here. I'm just trying to > install and test SSH with RSA encryption. > > I've done this: > > As root: > > 1) make & install ssh from ports. The public server key is made as > part of the 'make install' process > > 2) add "AllowHosts localhost" to sshd_config > > 3) shutdown -r now > > As user: > > 4) ssh-keygen > > 5) cd ~/.ssh & cp identity.pub authorized_keys > > 6) ssh -v localhost > > I get: > > SSH Version 1.2.26 [i386--freebsd3.2], protocol version 1.5. > Compiled with RSAREF. > massiveattack.foobar.com: Reading configuration data > /usr/local/etc/ssh_config > massiveattack.foobar.com: ssh_connect: getuid 1000 geteuid 0 anon 0 > massiveattack.foobar.com: Allocated local port 1015. > massiveattack.foobar.com: Connecting to 127.0.0.1 port 22. > massiveattack.foobar.com: Connection established. > massiveattack.foobar.com: Remote protocol version 1.5, remote software > version 1.2.26 massiveattack.foobar.com: Waiting for server public key. > Sorry, you are not allowed to connect. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message