From owner-freebsd-questions Sun Jun 6 15:28:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sawasdee.cc.columbia.edu (sawasdee.cc.columbia.edu [128.59.59.136]) by hub.freebsd.org (Postfix) with ESMTP id 12E10150BA for ; Sun, 6 Jun 1999 15:28:23 -0700 (PDT) (envelope-from stuyman@confusion.net) Received: from confusion.net (dialup-9-9.cc.columbia.edu [128.59.36.213]) by sawasdee.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA16095; Sun, 6 Jun 1999 18:28:20 -0400 (EDT) Message-ID: <375AF5EF.C20996CE@confusion.net> Date: Sun, 06 Jun 1999 18:27:59 -0400 From: Laurence Berland Organization: B.R.A.T.T. X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Brian McGroarty Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Installing & Using SSH References: <375AED49.16BD4CD7@pobox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You restarted, did you remember to restart sshd after that? 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 -- Laurence Berland, Stuyvesant HS Debate <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. http://stuy.debate.net icq #7434346 aol imer E1101 The above email Copyright (C) 1999 Laurence Berland All rights reserved To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message