mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Hide "Warning: Permanently added ... to the list of known hosts." in Harbormaster
Summary: Ref T1049. This messages is always printed to standard error now that the known hosts file is set to /dev/null. This hides the warning so that we'll be able to parse stderr for Windows hosts (where Powershell decides to output XML...) Test Plan: Tested locally and verified the warning no longer appears. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T1049 Differential Revision: https://secure.phabricator.com/D10362
This commit is contained in:
parent
a26c6147f5
commit
b163883d88
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ EOF;
|
||||||
|
|
||||||
return new ExecFuture(
|
return new ExecFuture(
|
||||||
'ssh '.
|
'ssh '.
|
||||||
|
'-o LogLevel=quiet '.
|
||||||
'-o StrictHostKeyChecking=no '.
|
'-o StrictHostKeyChecking=no '.
|
||||||
'-o UserKnownHostsFile=/dev/null '.
|
'-o UserKnownHostsFile=/dev/null '.
|
||||||
'-o BatchMode=yes '.
|
'-o BatchMode=yes '.
|
||||||
|
|
Loading…
Reference in a new issue