| Summary: | support "--" to disambiguate option and non-option arguments | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Colin Watson <cjwatson> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 7.5p1 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| URL: | https://bugs.debian.org/873201 | ||
| Bug Depends on: | |||
| Bug Blocks: | 2698 | ||
|
Description
Colin Watson
2017-08-26 01:33:15 AEST
I fixed this a couple of weeks ago. commit 643c2ad82910691b2240551ea8b14472f60b5078 Author: djm@openbsd.org <djm@openbsd.org> Date: Sat Aug 12 06:46:01 2017 +0000 upstream commit make "--" before the hostname terminate command-line option processing completely; previous behaviour would not prevent further options appearing after the hostname (ssh has a supported options after the hostname for >20 years, so that's too late to change). ok deraadt@ Upstream-ID: ef5ee50571b98ad94dcdf8282204e877ec88ad89 Ah, of course, thanks! Sorry for not noticing that. It would be nice if this were documented in ssh(1). Programs that call other programs that execute subsidiary commands often need to know in pedantic detail exactly what the quoting (etc.) requirements of those other programs are. Close all resolved bugs after release of OpenSSH 7.7. |