rancher / distros-test-framework

5 stars 9 forks source link

Make ssh and scp connections more secure #91

Closed rancher-max closed 5 months ago

rancher-max commented 5 months ago

Proposed Changes

Make ssh and scp connections more secure by using ssh-keyscan to add the IP to the known hosts, therefore not having to do the bypasses.

Types of Changes

refactor

Testing

Checklist:

  1. If your PR changes anything on or related to Jenkins, run it pointing to your branch to make sure it's okay. ✅

    • See node_upgrade_replacement run 15
  2. Verify code lint; we should not have errors. ✅

  3. Update the documentation if needed.

  4. Update makefile and docker run if adding new tests.

  5. Run your tests at least 4 times with all configurations needed and possible.

  6. If needed test with different os types.

Linked Issues

This is related to internal ticket: SD-129757

Further Comments