git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Default ssh command

From
AHAaron Hall <aaronchallmba@gmail.com>
Date
Jul 8, 2021, 13:50 UTC
Message-ID
<CADrEZfEzCzB1wq5_FaqH-pSK6vqYXXF0LFbXZ8fPKX_Mfr3QBw@mail.gmail.com>
In-Reply-To
<YOWsNk4GqNUPyHD5@camp.crustytoothpaste.net>
> Do you maybe have RequestTTY set in some SSH configuration file, like
> ~/.ssh/config?  You can also run "ssh -vvv HOSTNAME" to see if there are
> any config files.

That's it! Not sure why I put a wildcard RequestTTY force... I was probably just going through the man page and putting down things that looked like were what I wanted...

My urgency on this issue is gone. But unless git expects escape codes, perhaps it still should set them to none.

Show 5 quoted lines
> The problem is that on some systems "ssh" is something other than
> OpenSSH and we will likely break those systems.  That doesn't mean we
> can't do it if it's necessary, but it does mean that if this is a
> configuration issue, it would be better to fix the configuration if we
> can rather than potentially break systems needlessly.

I would expect it would be a compatible change but I don't have time to research it.

> This problem will also occur for tools like rsync and various other
> programs which expect the standard behavior for the ssh binary, so
> making a change here in Git is also not the right place if we can avoid
> it.

To me, it's weird that an improperly configured tool breaks another tool, and it seems that we could be more robust to that sort of problem without breaking anyone, but as you say we would need to verify we're not breaking anyone.

I suggest keeping this open as an issue, but that's up to you all.
Previous: brian m. carlson
Message 5 of 5 in “Default ssh command”
  1. Aaron HallJul 7, 2021
  2. Junio C HamanoJul 7, 2021
  3. Aaron HallJul 7, 2021
  4. brian m. carlsonJul 7, 2021
  5. Aaron HallJul 8, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.