mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +01:00
Disable known hosts when SSH'ing through Drydock
Summary: This prevents SSH from saving the host key into known_hosts; StrictHostKeyChecking only prevents it from prompting for unknown hosts, but it will still verify hosts against what it has previously saved. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10252
This commit is contained in:
parent
ca8f7cdaa5
commit
e07011d37d
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ EOF;
|
|||
return new ExecFuture(
|
||||
'ssh '.
|
||||
'-o StrictHostKeyChecking=no '.
|
||||
'-o UserKnownHostsFile=/dev/null '.
|
||||
'-o BatchMode=yes '.
|
||||
'%C -p %s -i %P %P@%s -- %s',
|
||||
$command_timeout,
|
||||
|
|
Loading…
Reference in a new issue