Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2001 19:42:00 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        david@banning.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: ssh installation problem
Message-ID:  <3B103F48.53519E5D@iowna.com>
References:  <200105270026.f4R0Q2700505@d.tracker>

next in thread | previous in thread | raw e-mail | index | archive | help
David Banning wrote:
> 
> I just installed SSH acccording to the directions on mostgraveconcern.org

What version of FreeBSD are you running? Versions after 4.1.1 and 3.5.1
have ssh installed with the base system.

> I made the error of entering both lines;
> 
> /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key   (SSH-1)
> # /usr/bin/ssh-keygen -d -N "" -f /etc/ssh/ssh_host_dsa_key   (SSH-2)
> 
> when I try /usr/sbin/sshd
> I get the error ;
> 
> error: ConnectionsPerPeriod has been deprecated!

This says your ssh config file is outdated. A depreciated value won't
cause ssh to malfunction, but it's a good indicator that you need to fix
your config file.

> I don't know if that is related to my error or not.
> 
> sshd seems to be running, but since I haven't figured out how to do
> a ssh login yet I don't even know whether it's effective.

I'm guessing what you've done is installed an old version of ssh over
top of the current version. Somehow the config file was replaced with
the old config file, but you're still running the new version of ssh
(pure speculation here)

If you're running a newer version of FreeBSD that has ssh as part of the
base system, deinstall the ssh package and use the system-based version.
It can be configured to start up automagically via /etc/rc.conf.

Getting a login via ssh is simple:
ssh localhost
should work to test.
See man ssh for more details.

-Bill

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?3B103F48.53519E5D>