Extract public/private key from PKCS12 file for later use in SSH-PK-Authentication

I want to extract the public and private key from my PKCS#12 file for later use in SSH-Public-Key-Authentication. Right now, I’m generating keys via ssh-keygen which I put into .ssh/authorized_key, respective somewhere on the client-side. In future, I want to use the keys from a PKCS#12 container, so I’ve to extract the public-key first from … Read more