Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jun 1999 18:27:59 -0400
From:      Laurence Berland <stuyman@confusion.net>
To:        Brian McGroarty <brian@pobox.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Installing & Using SSH
Message-ID:  <375AF5EF.C20996CE@confusion.net>
References:  <375AED49.16BD4CD7@pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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