HOWTO: OpenSSH with MFA on OpenWrt 19.07.x using Google Authenticator
I've just spent a few hours trying to establish two-factor authentication for OpenSSH on my OpenWrt x86 router (v19.07.06). It finally works, but it's been a bit bumpy road, worth documenting for the future reference. Some helpful prior-art resources I've come across: Installing Google Authenticator for SSH, OpenConnect, OpenVPN? https://forum.archive.openwrt.org/viewtopic.php?id=38905 https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu...
OpenWrt Forum