So apparently OpenSSH accepts but ignores --, i.e. it still parses options after the --...
-
-
-
Replying to @canadianbryan @RichFelker
$ ssh -V -- OpenSSH_7.5, LibreSSL 2.6.0 $ ssh -- -V ssh: Could not resolve hostname -v: no address associated with name
3 replies 1 retweet 1 like -
Replying to @canadianbryan @RichFelker
i didnt think getopt semantics were so unknown
1 reply 2 retweets 1 like -
Replying to @dlgwynne @canadianbryan
For some reason they're not being honored on the linux openssh builds several of us have tested just now...
1 reply 0 retweets 0 likes -
OpenSSH accepts options after the hostname for legacy reasons, so you might be seeing that.
2 replies 0 retweets 1 like -
But it should not do that if -- was used. If it does, that's a bug.
1 reply 0 retweets 1 like -
It's probably not an issue, any trailing space characters would be removed by proper hostname sanitization before arg parsing happens again.
2 replies 0 retweets 0 likes -
Replying to @canadianbryan @RichFelker and
Presumably anything calling out to ssh would be doing that anyway, to avoid passing arbitrary commands onto the remote host..
1 reply 0 retweets 0 likes
See the scenario I just explained...
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.