Bug 3514 - The help document of ssh-agent misses an option
Summary: The help document of ssh-agent misses an option
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-agent (show other bugs)
Version: 9.1p1
Hardware: All All
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_9_2
  Show dependency treegraph
 
Reported: 2022-12-28 02:28 AEDT by 陈孟达
Modified: 2023-03-17 13:42 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 陈孟达 2022-12-28 02:28:41 AEDT
The "-h" option of ssh-agent misses the option "O". 

1) For the option "O", the following code appears during option parsing and modifies the restrict_websafe in ssh-agent.c:2055-2059 for version 9.1p1.


			if (strcmp(optarg, "no-restrict-websafe") == 0)
				restrict_websafe  = 0;
			else
				fatal("Unknown -O option");
			break;



But it does not appear in the document provided by "-h".

It may prevent users from using the relevant function.
Comment 1 Damien Miller 2023-01-13 13:13:43 AEDT
This was fixed in 9fd24411
Comment 2 Damien Miller 2023-03-17 13:42:43 AEDT
OpenSSH 9.3 has been released. Close resolved bugs