In most of the cases we need to login our server using 2 steps authentication by disabling direct root login.
Below are the steps which we can used.
1. adduser support
2. passwd support
>> create strong password for support user as per request.
Please keep support password
3. vi /etc/group
Make sure admin user wheel settings
1. Copy and paste this line to edit the file for SSH logins
# vi /etc/ssh/sshd_config
2. check for the next line
Protocol 2, 1
3. Uncomment it and change it to look like
4. Next, find the below line and change “Yes” to “No” (This will disable direct root login)
5. Save the file and exit
7. Now you can restart SSH
# /etc/rc.d/init.d/sshd restart
Try to login then using user support
ssh firstname.lastname@example.org That is all.