bugzilla-daemon at bugzilla.mindrot.org
2017-Mar-07 07:38 UTC
[Bug 2690] New: Add command line "ssh --version"
https://bugzilla.mindrot.org/show_bug.cgi?id=2690 Bug ID: 2690 Summary: Add command line "ssh --version" Product: Portable OpenSSH Version: 7.2p2 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: jg at jguk.org I am using ssh -V OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 Would you support a patch to add "ssh --version" this is the standard way to check the version, it is unclear what version ssh from the help output, so could add it to that as well. If there was agreement. $ ssh usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command] I would suggest adding the version to this output as well. And also --version command line on the parameters -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Mar-07 08:41 UTC
[Bug 2690] Add command line "ssh --version"
https://bugzilla.mindrot.org/show_bug.cgi?id=2690 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at zip.com.au --- Comment #1 from Darren Tucker <dtucker at zip.com.au> --- (In reply to jg from comment #0)> Would you support a patch to add "ssh --version" this is the > standard way--version (and long options in general) are not standard (see http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html), they're a GNU extension. So, no, probably not. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Mar-09 06:13 UTC
[Bug 2690] Add command line "ssh --version"
https://bugzilla.mindrot.org/show_bug.cgi?id=2690 --- Comment #2 from jg at jguk.org --- I appreciate that GNU long options aren't part of POSIX, but when they are so common, is it not worth being GNU compatible now? The other question, is could the usage be updated to include the current version? eg $ ssh OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-V] [-F configfile] [-I pkcs11] [-i identity_file] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command] -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Mar-10 02:33 UTC
[Bug 2690] Add command line "ssh --version"
https://bugzilla.mindrot.org/show_bug.cgi?id=2690 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED --- Comment #3 from Darren Tucker <dtucker at zip.com.au> --- (In reply to jg from comment #2)> I appreciate that GNU long options aren't part of POSIX, but when > they are so common, is it not worth being GNU compatible now?No.> The other question, is could the usage be updated to include the > current version? egIt's not relevant to the usage, so probably not. Thanks for the suggestions but they are not something we are interested in implementing at this time. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:56 UTC
[Bug 2690] Add command line "ssh --version"
https://bugzilla.mindrot.org/show_bug.cgi?id=2690 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.