Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 16:20:36 -0700
From:      "Michael K. Smith" <mksmith@noanet.net>
To:        "'Bill Moran'" <wmoran@potentialtech.com>, <questions@freebsd.org>
Subject:   RE: How to determine the version of sshd
Message-ID:  <004001c37d72$4cd64380$6701a8c0@MKSMINISONY>
In-Reply-To: <3F68AECD.8030500@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If you type 'sshd -v' you will get an error telling you it's not =
supported,
but at the top of the output, it will show you the version.  :-)

mksmith@cyclops(mksmith)$ sshd -v
sshd: illegal option -- v
sshd version OpenSSH_3.7p1
Usage: sshd [options]
Options:
  -f file    Configuration file (default /etc/ssh/sshd_config)
  -d         Debugging mode (multiple -d means more debugging)
  -i         Started from inetd
  -D         Do not fork into daemon mode
  -t         Only test configuration file and keys
  -q         Quiet (no logging)
  -p port    Listen on the specified port (default: 22)
  -k seconds Regenerate server key every this many seconds (default: =
3600)
  -g seconds Grace period for authentication (default: 600)
  -b bits    Size of server RSA key (default: 768 bits)
  -h file    File from which to read host key (default:
/etc/ssh/ssh_host_key)
  -u len     Maximum hostname length for utmp recording
  -4         Use IPv4 only
  -6         Use IPv6 only
  -o option  Process the option as if it was read from a configuration =
file.

--=20
Michael K. Smith          NoaNet
206.219.7116 (work)       206.579.8360 (cell)
mksmith@noanet.net        http://www.noanet.net

=20

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Bill Moran
Sent: Wednesday, September 17, 2003 11:58 AM
To: questions@freebsd.org
Subject: How to determine the version of sshd

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?

--=20
Bill Moran
Potential Technologies
http://www.potentialtech.com

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004001c37d72$4cd64380$6701a8c0>