Archives December 2016

Scripting one time ssh access to allow for Google Authenticator setup

In our previous article we setup google-authenticator for authenticating openssh. Now, we need a way for users to be able to login once before setting up google-authenticator. Here is a script for checking if a user has not logged in and ran google-authentication yet, runs google-authenticator, then prevents that user from logging in again without […]
To access this post, you must purchase Hands-on Kamailio Deployment Course - Self Paced.

Setting up Google Authentication for SSH Multi-Factor Auth

Install google-authenticator In this tutorial we will go over how to setup two factor authentication for SSH using google-authenticator on CentOS 6. First thing we need to do is install the google-authenticator package using yum. yum install google-authenticator Next, run google-authenticator to genereate a key. google-authenticator https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/nschoonover@ldap.dopensource.com%3Fsecret%3D3FO6WYXPZUMTEWUB Your new secret key is: 3FO6WYXPZUMTEWUB Your verification […]
To access this post, you must purchase Hands-on Kamailio Deployment Course - Self Paced.