Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 1999 10:24:31 +1200
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        Brian McGroarty <brian@pobox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing & Using SSH
Message-ID:  <19990606222718.COEX8785947.mta2-rme@wocker>
In-Reply-To: <375AED49.16BD4CD7@pobox.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990606222718.COEX8785947.mta2-rme>