shellinabox 2.21+b1
The version above has the issue in Debian 11, after confirming that the .pem is valid and contains the private and public key, and permissions are valid, Iwould still get this error.
I then tried the same .pem in Debian 12 with shellinabox 2.21+b2........
I like dd, although it only reads it, usually a read test of the entire disk will uncover if your hard drive is bad in some parts. This is a good thing to do at least once a month, a lot of times bizarre program behavior, laginess and crashing/unnmounting problems etc.. are due to a failing disc and SMART won't know it or indicate a problem:
We must also remember there's never a guarantee, I've found that ever since we moved to larger and more platters per drive with 1TB drives........