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

Re: [PATCH] fetch-pack: make the ssh connection quiet

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 27, 2010, 22:35 UTC
Message-ID
<7v1v7bclhe.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1288189628-4883-1-git-send-email-jstepien@users.sourceforge.net>
Jan Stępień  <jstepien@users.sourceforge.net> writes:
> The --quiet option passed to fetch-pack did not affect the ssh child
> process. When an ssh server sent a motd it was displayed because the ssh
> client wasn't launched with the -q option.
This is curious for a couple of reasons:
1. "-q" option to "ssh" is not meant to supress "motd"; it is about
   warning and diagnostics.  From man ssh(1):
     -q Quiet mode.  Causes most warning and diagnostic messages to be
        suppressed.  Only fatal errors are displayed.  If a second -q is
        given then even fatal errors are suppressed, except for those
        produced due solely to bad argu‐ ments.
2. "PrintMotd" defaults to "yes" but it is to specify whether the daemon
   should print /etc/motd when a user logs in interactively.  I didn't
   think fetch-pack logged in interactively, so why should this matter?
Previous: Jan StępieńNext: Jan Stępień
Message 4 of 5 in “fetch-pack: make the ssh connection quiet”
  1. fetch-pack: make the ssh connection quietJan Stępień, Oct 27, 2010
  2. Drew NorthupOct 27, 2010
  3. Jan StępieńOct 27, 2010
  4. Junio C HamanoOct 27, 2010
  5. Jan StępieńOct 28, 2010

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.