Best practices for securing SSH access? Is certificate-based VPN server a good solution?

I run a server on a hosting. I want to harden it, but ssh access is giving me a bit of concerns.
I usually access from home most of the times. I have a provider subscription with the usual DHCP setup which assigns some IP address to my hom… Continue reading Best practices for securing SSH access? Is certificate-based VPN server a good solution?

Is it possible to regenerate the stub private key from just the physical key in OpenSSH?

Let’s say I make an id of type ed25519-sk and have it reside on my yubikey. OpenSSH makes two files, id_ed25519_sk, a stub private key, and id_ed25519_sk.pub the corresponding public key.
If I lose these, can I regenerate them with just th… Continue reading Is it possible to regenerate the stub private key from just the physical key in OpenSSH?