Bug 2537

Summary: add --version argument
Product: Portable OpenSSH Reporter: krichter
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: enhancement CC: djm, dtucker
Priority: P5    
Version: 7.1p1   
Hardware: Other   
OS: Linux   

Description krichter 2016-02-02 22:02:08 AEDT
It would be helpful to have a `--version` parameter for the command printing the current version of the binary and of the versions of the most important dependencies if that makes sense.

experienced with V_7_1_P1-171-g4c6cb83
Comment 1 Darren Tucker 2016-02-03 07:54:29 AEDT
double-dash options are a GNU extension not part of POSIX.  There's already an option in ssh(1):

$ ssh -V
OpenSSH_7.1, LibreSSL 2.3.2
Comment 2 krichter 2016-02-05 22:30:55 AEDT
Could it be added to `ssh --help` although not being essential?
Comment 3 Damien Miller 2016-08-02 10:40:39 AEST
Close all resolved bugs after 7.3p1 release