How to determine the version of sshd

Michael K. Smith mksmith at noanet.net
Wed Sep 17 16:20:37 PDT 2003


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 at 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.

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

 

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Bill Moran
Sent: Wednesday, September 17, 2003 11:58 AM
To: questions at 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?

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

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



More information about the freebsd-questions mailing list