I just answered a similar question in another topic. Use a User SSH Key and it’ll checkout as said user which in turn sets the known_hosts.
I just answered a similar question in another topic. Use a User SSH Key and it’ll checkout as said user which in turn sets the known_hosts.