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, [EMAIL PROTECTED]
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to