Commit Diff
- Commit:
40d558910d47a11daa7416ea386f16b67c9258b8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- stop running ssh with -q by default The -q option suppresses too many important errors, including the warning printed when a host key has changed. Requiring users to pass -v in order to see this message is too cumbersome.
- Actions:
- Patch | Tree
--- lib/dial.c +++ lib/dial.c @@ -285,7 +285,7 @@ got_dial_ssh(pid_t *newpid, int *newfd, const char *ho argv[i++] = "-p"; argv[i++] = (char *)port; } - if (verbosity <= 0) { + if (verbosity == -1) { argv[i++] = "-q"; } else if (verbosity > 1) { /* ssh(1) allows up to 3 "-v" options. */