1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-02 01:51:53 +01:00

utils/ssh: Allow passing known_hosts path via strict_host_check value

Allow passing a known_hosts file path to strict_host_check.
This commit is contained in:
Douglas Raillard
2024-07-09 17:20:01 +01:00
committed by Marc Bonnici
parent de84a08bf8
commit 38d4796e41
2 changed files with 27 additions and 12 deletions

View File

@@ -177,7 +177,11 @@ Connection Types
:param platform: Specify the platform to be used. The generic :class:`~devlib.platform.Platform`
class is used by default.
:param sudo_cmd: Specify the format of the command used to grant sudo access.
:param strict_host_check: Specify the ssh connection parameter ``StrictHostKeyChecking``,
:param strict_host_check: Specify the ssh connection parameter
``StrictHostKeyChecking``. If a path is passed
rather than a boolean, it will be taken for a
``known_hosts`` file. Otherwise, the default
``$HOME/.ssh/known_hosts`` will be used.
:param use_scp: Use SCP for file transfers, defaults to SFTP.
:param poll_transfers: Specify whether file transfers should be polled. Polling
monitors the progress of file transfers and periodically