bugzilla-daemon at bugzilla.mindrot.org
2009-Mar-20 13:27 UTC
[Bug 1576] New: ssh-add doesn't have --help or --version options
https://bugzilla.mindrot.org/show_bug.cgi?id=1576
Summary: ssh-add doesn't have --help or --version options
Product: Portable OpenSSH
Version: 5.2p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: baron at sequent.org
ssh-add doesn't have --help. If I give the --help option, I can see it
runs exactly as though I didn't give any options.
But if I give the -h option it complains about an illegal option and
prints out the text I would expect to see from --help.
I also see no --version option and no way to get this information from
the tool itself.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Mar-21 06:59 UTC
[Bug 1576] ssh-add doesn't have --help or --version options
https://bugzilla.mindrot.org/show_bug.cgi?id=1576
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2009-03-21
17:59:12 ---
No OpenSSH program supports --help, --version or any other
--long-option. You must be confusing us with GNU software that tends to
do stuff like this - we aren't.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2009-Mar-21 11:37 UTC
[Bug 1576] ssh-add doesn't have --help or --version options
https://bugzilla.mindrot.org/show_bug.cgi?id=1576
--- Comment #2 from Baron Schwartz <baron at sequent.org> 2009-03-21
22:37:52 ---
That doesn't match the behavior I see on my machine.
baron at kanga:~$ ssh --help
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c
cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p
port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]
baron at kanga:~$ scp --help
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
baron at kanga:~$ ssh-copy-id --help
Usage: /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine
On the other hand, ssh-agent ignores --help too.
I assume the above are all just 'syntax error' responses. But they
have the appearance of being --help responses.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2009-Mar-23 02:26 UTC
[Bug 1576] ssh-add doesn't have --help or --version options
https://bugzilla.mindrot.org/show_bug.cgi?id=1576 --- Comment #3 from Damien Miller <djm at mindrot.org> 2009-03-23 13:26:45 --- That behaviour is "by accident", since both those programs print usage information when they receive an unknown argument. "--help" is interpreted first as "--" and '-' is not a valid option character. ssh-add actually does this too, but it checks whether ssh-agent is reachable first, so you may not see it. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2009-Oct-06 04:02 UTC
[Bug 1576] ssh-add doesn't have --help or --version options
https://bugzilla.mindrot.org/show_bug.cgi?id=1576
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #4 from Damien Miller <djm at mindrot.org> 2009-10-06 15:02:03
EST ---
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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.