Can someone with access to only my Yubikey gain access to my server that has SSH access via an ED25519-sk keypair?

My understanding is that an ED25519-sk SSH key generated by OpenSSH generates a private key stub that lives on your host machine. This stub is just a reference to the actual private key that lives on the actual hardware key itself.
My unde… Continue reading Can someone with access to only my Yubikey gain access to my server that has SSH access via an ED25519-sk keypair?

Is the EC2 console "connect" button the only way to get access to a new EC2 instance if you do not attach a key to it? [closed]

When creating an EC2 instance, there is an option to not add an SSH key to the server. When this option is selected, you can still access the server via the EC2 UI by clicking "connect".
Is there any other way to access a new ser… Continue reading Is the EC2 console "connect" button the only way to get access to a new EC2 instance if you do not attach a key to it? [closed]

Posted in AWS

When I encrypt a file with gpg, am I encrypting it with a key that lives on my local machine? [closed]

I can encrypt a file with gpg in the following manner:
gpg –symmetric –cipher-algo AES256 ./test.txt
This allows me to encrypt the file with a password. Does this also use a key I have locally, or is it strictly encrypted with the passwo… Continue reading When I encrypt a file with gpg, am I encrypting it with a key that lives on my local machine? [closed]

When hardening my SSH key, why would I use yubikey-agent instead of the built-in `-sk` key type native to OpenSSH?

OpenSSH 8.2 added -sk key types that allow for FIDO/U2F hardware authenticators (like a YubiKey, etc.)
yubikey-agent allows for the same functionality, except it (a) requires an additional client on top of OpenSSH, and (b) is scoped to onl… Continue reading When hardening my SSH key, why would I use yubikey-agent instead of the built-in `-sk` key type native to OpenSSH?