Matt Horan's Blog

pam

Setting up two-factor authentication on FreeBSD

authentication freebsd hotp howto oath otp pam ssh totp

I typically utilize public key authentication when connecting via SSH to matthoran.com. However, there are times when I’m away from a device which has my private key and need access to my server. I reluctantly enabled password authentication for those occasions, but after enabling two-factor authentication for most of the services that I use regularly, I wanted to do the same for my own server.

Read more...

1 of 1