Is it possible to retrieve the public-key from an encrypted or passphrase-protected ssh private-key?

I have created an open-ssh keypair using ssh-keygen with the defaults, and encrypted the private key with a passphrase. I already know how to derive the public-key from the private-key using ssh-keygen -y, for which I will need to enter th… Continue reading Is it possible to retrieve the public-key from an encrypted or passphrase-protected ssh private-key?

Reading SSH private key physically stored on yubikey to remote into external PC

I was wondering if it’s possible to only store and read a ssh private key on a yubikey and not read the private key the yubikey generated from a client computer?
Currently the only way it seems to work is that I store the private key on cl… Continue reading Reading SSH private key physically stored on yubikey to remote into external PC

SSH authentication with GPG failing with a new Yubikey with the same gpg keys as the old one

I have a MacBook M1 on which I have been using a Yubikey 5 to authenticate SSH logins to various systems. I recently got a Yubikey 5C so I wouldn’t have to use adapters. I moved my keys over to it using the backup I created when I set up m… Continue reading SSH authentication with GPG failing with a new Yubikey with the same gpg keys as the old one