(LINUX)User Account Expiry
Problem Statement:
-> Login to server
->sudo su -
->cd /home/<user_name>/.ssh
->vim authorized_keys
1. Check if public key is correct.
2. Check if mode of file is 600, if not do chmod 600 authorized_keys
3. Check mode of .ssh directory, it should be 700
Problem Statement:
-> Login to server
-> sudo su -
-> passwd username
-> set new passwd