How to determine the version of sshd

David Kelly dkelly at hiwaay.net
Wed Sep 17 12:07:05 PDT 2003


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 at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


More information about the freebsd-questions mailing list