Skip to content
  • Iustin Pop's avatar
    Fix ssh host key checking with no-key-check · e66d9f1a
    Iustin Pop authored
    
    
    In case we add a node with “--no-ssh-key-check”, this should override
    any default yes/ask values in the system-wide (or user) ssh key check.
    
    Currently this only works in batch mode, whereas in non-batch we only
    override a 'no'. The patch fixes SshRunner such that in non-batch mode
    we enforce the value of StrictHostKeyChecking in all cases.
    
    Bug found and initial investigation by Theo Van Dinter.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    e66d9f1a