Bug 2537 - add --version argument
Summary: add --version argument
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 7.1p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-02 22:02 AEDT by krichter
Modified: 2016-08-02 10:40 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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