RE: How to determine the version of sshd
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. :-) [EMAIL PROTECTED](mksmith)$ sshd -v sshd: illegal option -- v sshd version OpenSSH_3.7p1 Usage: sshd [options] Options: -f fileConfiguration 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 portListen 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 bitsSize of server RSA key (default: 768 bits) -h fileFile 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) [EMAIL PROTECTED]http://www.noanet.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran Sent: Wednesday, September 17, 2003 11:58 AM To: [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to determine the version of sshd
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? > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com > sshd -\? Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to determine the version of sshd
Marc Ramirez wrote: On Wed, 17 Sep 2003, 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? [EMAIL PROTECTED]/usr/src] $ sshd -v sshd: illegal option -- v sshd version OpenSSH_3.5p1 FreeBSD-20030201 Usage: sshd [options] Options: -f fileConfiguration 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 portListen 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 bitsSize of server RSA key (default: 768 bits) -h fileFile 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. [EMAIL PROTECTED]/usr/src] $ Although, apparently, it's not entirely accurate WRT the patch... This is what I get after having supped and only rebuilt sshd... I'm doing a buildworld right now, which might give different results. That's funny. I was too busy noticing that -v was an illegal option to notice that it provided the requested information anyway! -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to determine the version of sshd
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]"
Re: How to determine the version of sshd
telnet localhost 22 the banner should read shell1# !tel telnet localhost 22 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. SSH-1.99-OpenSSH_3.5p1 FreeBSD-20030917 This will work only iff have #VersionAddendum commented out in /etc/ssh/sshd_config ---Mike At 02:58 PM 17/09/2003, 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? -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to determine the version of sshd
On Wed, 17 Sep 2003, 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? [EMAIL PROTECTED]/usr/src] $ sshd -v sshd: illegal option -- v sshd version OpenSSH_3.5p1 FreeBSD-20030201 Usage: sshd [options] Options: -f fileConfiguration 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 portListen 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 bitsSize of server RSA key (default: 768 bits) -h fileFile 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. [EMAIL PROTECTED]/usr/src] $ Although, apparently, it's not entirely accurate WRT the patch... This is what I get after having supped and only rebuilt sshd... I'm doing a buildworld right now, which might give different results. Marc. -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"