Hello, friends! Today, Iād like to share what I learned about TOTP. Why i was reading a security blog cybersafesolutions and then I got more concius about the security of my raspberry.
Setup 2F to my raspberry
I have already enabled SSH , then we need to tell the SSH daemon to enable āchallenge-responseā passwords. Go ahead and open the SSH config file:
sudo nano /etc/ssh/sshd_config
Enable challenge response by changing ChallengeResponseAuthentication from the default no to yes.
sudo systemctl restart ssh
Install autnticator module in your setup, in my case i installe the Google Authenticator PAM module.
sudo apt install libpam-google-authenticator
And then configure:
google-authenticator
Be careful, Donāt move forward quite yet! Before you do anything else you should copy the emergency codes and put them somewhere safe.
Let check the video i created:
What I Learned
- Not only read is enougth tried to apply.
- SSH new configuration.
Off topic ā
Please take care of them.
