Ubuntu | Google Authenticator not working with SSH keys

| By Webner

Purpose is to get MFA/ 2-step verification working i.e. google-authenticator + ssh Keys First of all, install google authenticator on your server with following steps: 1. Yum install google-authenticator.x86_64 (Redhat/Centos) sudo apt-get install libpam-google-authenticator (ubuntu OS) 2. Now vi /etc/pam.d/sshd (add following

How to insert file names in a text file from command prompt

| By Webner

For Windows user: 1. Open folder that contains files in console 2. type dir /b > D:test.txt (it will copy the result in test.txt file) For Linux user: 1. Open folder that contains files in console 2. type ls > /home/user/test.txt (it will copy