Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 14:06:54 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        questions@freebsd.org
Subject:   Re: How to determine the version of sshd
Message-ID:  <20030917190654.GD73620@grumpy.dyndns.org>
In-Reply-To: <3F68AECD.8030500@potentialtech.com>
References:  <3F68AECD.8030500@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 17, 2003 at 02:58:21PM -0400, Bill Moran wrote:
> ssh has the -V switch to display the version.
> 
> sshd does not appear to have similar functionality.  Is there a way to 
> verify the version of sshd running on a FreeBSD system?

% sshd -d

The above will not background, and when it finds the port in use it will
die. Or in this case it dies becuase as non-root it couldn't read the
files it needed:

debug1: sshd version OpenSSH_3.6.1p1 FreeBSD-20030916
Could not load host key: /etc/ssh/ssh_host_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

-- 
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



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