Version string

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



6.2p2 prints the same version string in the debugging output as it does
when invoked with -V:

 % ssh -V
 OpenSSH_6.2p2, OpenSSL 0.9.8y 5 Feb 2013
 % ssh -v nonesuch |& head -1
 OpenSSH_6.2p2, OpenSSL 0.9.8y 5 Feb 2013

6.3p1 and newer don't - I don't have anything at hand that runs 6.3p1,
but here are 6.[456]p1:

 % ssh -V
 OpenSSH_6.4p1, OpenSSL 1.0.1e-freebsd 11 Feb 2013
 % ssh -v nonesuch |& head -1
 OpenSSH_6.4, OpenSSL 1.0.1e-freebsd 11 Feb 2013

 % ssh -V
 OpenSSH_6.5p1, OpenSSL 1.0.1f-freebsd 6 Jan 2014
 % ssh -v nonesuch |& head -1
 OpenSSH_6.5, OpenSSL 1.0.1f-freebsd 6 Jan 2014

 % ssh -V
 OpenSSH_6.6p1, OpenSSL 1.0.1f-freebsd 6 Jan 2014
 % ssh -v nonesuch |& head -1
 OpenSSH_6.6, OpenSSL 1.0.1f-freebsd 6 Jan 2014

and my patched version of 6.6p1:

 % ssh -V
 OpenSSH_6.6p1, OpenSSL 1.0.1e-freebsd 11 Feb 2013
 % ssh -v nonesuch |& head -1
 OpenSSH_6.6p1, OpenSSL 1.0.1e-freebsd 11 Feb 2013

Patch:

Index: ssh.c
===================================================================
RCS file: /cvs/openssh/ssh.c,v
retrieving revision 1.398
diff -u -r1.398 ssh.c
--- ssh.c	26 Feb 2014 23:17:13 -0000	1.398
+++ ssh.c	31 Mar 2014 20:48:30 -0000
@@ -876,7 +876,7 @@
 	    SYSLOG_FACILITY_USER, !use_syslog);
 
 	if (debug_flag)
-		logit("%s, %s", SSH_VERSION, SSLeay_version(SSLEAY_VERSION));
+		logit("%s, %s", SSH_RELEASE, SSLeay_version(SSLEAY_VERSION));
 
 	/* Parse the configuration files */
 	process_config_files(pw);

DES
-- 
Dag-Erling Smørgrav - des@xxxxxx
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev





[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux