I have a new DIY NAS with OMV, works well. I have spent hours trying to generate and use a certificate instead of the SSH login for root (also tried with another user), so that I can log in and update OMV automatically by a Plink + shell script. No matter what I try-- having searched the Internet many times-- I get "Cannot use the certificate" or "Certificate refused" kinds of errors upon SSH login attempts. I tried certs imported into the OMV Web interface as well as ones that were just added there anew. The certs appear to be saved without errors in OMV. I am then specifying a local private key in Putty or a Plink command line-- and neither works.
Guides on this are hard to find and vary widely in the instructions. Some of the guides and posts available online simply do not work. I tried a variety of keygen commands. From what I can tell, I can successfully generate the private & public key pairs, and the special Putty format, but I am still not succeeding.
My goal is to be able to use a certificate from one of my computers, so that I am not prompted for the SSH login password, which I also do not want to save or use in a command line on that computer. I'd like to preserve the password login for other computers.
I'm starting to think that this is not possible. Am I wrong? What is the way?