Hello,
I'm trying to collect data from linux hosts with only public keys auth allowed. I'm able to successfully test ssh connection and getting to login prompt. However, collecting inventory or performance data got failed. Ssh auth log on the remote shows that public key is not tried but password only. If I do disable password auth on the remote explicitly it just got failed with no auth methods left errors. It looks like keys auth is not even tried. In the running processes I see different behavior when connection test and data collection being issued. It looks like putty is started when testing and plink when a real task like inventory. So, the question is - is there a way to force it to use public key auth instead of passwords.
Thank you.