I installed google authenticator (two step verification), "libpam-google-authenticator" package, although it asks for a code for every single connection to SSH. I want to put localhost and my own ip whitelisted from google authenticator so I and localhost skip two step verification
Or is there a way to skip SSH challenge for certain ips?
In "/etc/pam.d/sshd"
Then on "/etc/security/access-local.conf"
Don't forget to restart ssh