Commit Diff
- Commit:
bd2d269200403f8168de26b8229d7c30de792d3b
- From:
- Stefan Sperling <stsp@stsp.name>
- 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 @@ -284,7 +284,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. */