How SSH finish script authentication work

You mean the code path that was using any SSH key from Foreman’s HOME folder?

To keep the status quo, I added a one commit to the existing PR: when /var/lib/foreman/ssh_finish_key file exists (and has 600 permissions) then use it as a possible SSH key. This way users who were using SSH keys in Foreman home directory can still do this.

@ekohl do you want me to create a Jira Feature or Spike? This is definitely something we will not have time in 2026 or early 2027 but just in case.