5 ms·
We discussed that, but it wasn't clear that doing so was portable. It works for OpenSSH. It doesn't for PuTTY. We don't know what other implementations people m
by peff 9y ago
We discussed that, but it wasn't clear that doing so was portable. It works for OpenSSH. It doesn't for PuTTY. We don't know what other implementations people might have as `ssh` on their systems.
- deleted 9y ago[deleted]
- peterwwillis 9y agoIt seems a little risky to assume separate clients/platforms will always interpret command line arguments the same way. At some point when a client breaks compatibility you have to implement methods to support the one-offs, or drop support. So for portability's sake, why not start writing those methods now, and have a generic universal method to fall back on for untested clients/versions? Or is that really unnecessary?
- avar 9y agoHow would a program like git figure out what flavor of "ssh" program is on the system? Keep in mind that it may change while a long-running git command is running.
- deleted 9y ago[deleted]
- pwdisswordfish 9y agoDropbear[0] doesn't seem to support "--" either. [0] https://matt.ucc.asn.au/dropbear/dropbear.html https://matt.ucc.asn.au/dropbear/dropbear.html
- luckydude 9y agoWhat happens if you do the -- fix and then use PuTTY? If it just fails then I'd argue that's OK, PuTTY will get updated as a result of the failure, no?
- pwdisswordfish 9y agoWhy do you think Lennart Poettering is hated so much?
- gazarsgo 9y ago+100000 Someone needs to teach the next generation about ABI compatibility...
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]