git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Default ssh command
@ 2021-07-07  1:35 Aaron Hall
  2021-07-07  1:48 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Aaron Hall @ 2021-07-07  1:35 UTC (permalink / raw)
  To: git

I was trying to push some binary files (PNGs) over ssh and found some
files inexplicably wouldn't successfully push.

I set, in my .gitconfig file:

[core]
        sshCommand = ssh -e none

And it works now for all files (that I can tell).

From a close examination of the output where I noted escape codes
showing up, I believe the problem to be ssh escape codes.

`\n~.` for example closes the ssh client.

Therefore I think the default ssh command should be `ssh -e none`
instead of `ssh` for the benefit of users who won't recognize the
problem, unless `git` is expected to make use of ssh escape codes.

I'm new to the mailing list, sorry if I missed some protocol here.
Thank you so much for working on `git` and making your work
 available to the rest of the world. Cheers!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-08 13:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  1:35 Default ssh command Aaron Hall
2021-07-07  1:48 ` Junio C Hamano
     [not found]   ` <CADrEZfGHAi=Lr6QMsJbXGy1Rs9VDzTVxQPNH4xHHj6ataEAvVA@mail.gmail.com>
     [not found]     ` <CADrEZfHJZT47nNZJ8v2T4vOJkMN7ccaai6DKdzFLF8Zoc42hWw@mail.gmail.com>
2021-07-07  2:13       ` Aaron Hall
2021-07-07 13:29         ` brian m. carlson
2021-07-08 13:50           ` Aaron Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).